mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-03-30 11:10:38 -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
|
|
@ -71,7 +71,7 @@ void HDSPMixerIOMixer::draw()
|
|||
Fl_Widget *const* a = array();
|
||||
if (damage() & ~FL_DAMAGE_CHILD) {
|
||||
draw_background();
|
||||
fl_color(FL_BLACK);
|
||||
fl_color(FL_FOREGROUND_COLOR);
|
||||
fl_font(FL_HELVETICA, 8);
|
||||
fl_draw(channel_name.str().c_str(), x()+4, y()+225, 27, 9, FL_ALIGN_CENTER);
|
||||
for (int i=children(); i--;) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue