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:
Tim Blechmann 2011-03-27 13:34:20 +02:00 committed by Takashi Iwai
parent e6c8241752
commit 3ee59653ec
5 changed files with 5 additions and 5 deletions

View file

@ -37,7 +37,7 @@ void HC_AutoSyncRef::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("Input", x()+4, y(), w()/2, h()/2, FL_ALIGN_LEFT);
fl_draw(ref[external_ref], x()+w()/2-4, y(), w()/2, h()/2, FL_ALIGN_CENTER);