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

@ -39,7 +39,7 @@ HC_AboutText::HC_AboutText(int x, int y, int w, int h):Fl_Widget(x, y, w, h, "Ab
void HC_AboutText::draw()
{
fl_color(FL_BLACK);
fl_color(FL_FOREGROUND_COLOR);
fl_font(FL_HELVETICA, 10);
fl_draw(text, x(), y(), w(), h(), FL_ALIGN_LEFT);
}