hdspmixer: fix drawing problems with black background

- use foreground color instead of black
- HDSPMixerSelector: set colors before setting labels

Signed-off-by: Tim Blechmann <tim@klingt.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Tim Blechmann 2011-04-02 14:44:11 +02:00 committed by Takashi Iwai
parent 210cb5f447
commit c975369874
4 changed files with 5 additions and 5 deletions

View file

@ -164,10 +164,10 @@ HDSPMixerSelector::HDSPMixerSelector(int x, int y, int w, int h):Fl_Menu_(x, y,
max_dest = 0;
selected = 0;
basew = (HDSPMixerWindow *)window();
setLabels();
textfont(FL_HELVETICA);
textsize(8);
textcolor(FL_BLACK);
textcolor(FL_FOREGROUND_COLOR);
setLabels();
}
void HDSPMixerSelector::draw() {