mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-02-12 04:27:52 -05:00
hdspconf: use foreground color instead of black
if the background color of the color scheme is black, black text is hard to read. using the foreground color fixes this problem Signed-off-by: Tim Blechmann <tim@klingt.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
e6c8241752
commit
3ee59653ec
5 changed files with 5 additions and 5 deletions
|
|
@ -38,7 +38,7 @@ void HC_SystemClock::draw()
|
|||
fl_color(FL_BACKGROUND_COLOR);
|
||||
fl_rectf(x(), y(), w(), h());
|
||||
draw_box(x(), y(), w(), h(), FL_WHITE);
|
||||
fl_color(FL_BLACK);
|
||||
fl_color(FL_FOREGROUND_COLOR);
|
||||
fl_font(FL_HELVETICA, 10);
|
||||
fl_draw("Mode", x()+4, y(), w()/2, h()/2, FL_ALIGN_LEFT);
|
||||
fl_draw(system_mode ? "Slave" : "Master", x()+w()/2-4, y(), w()/2, h()/2, FL_ALIGN_CENTER);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue