mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-03-11 05:33:46 -04:00
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:
parent
210cb5f447
commit
c975369874
4 changed files with 5 additions and 5 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue