summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-10-30 17:42:21 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-10-30 17:42:21 +0000
commit067d1d8a61a53723f286e12059ccc168ea8e98c9 (patch)
tree889a12e1576b5f30ca89751aba3c1b6a59a6ba01 /fluid/Fl_Type.cxx
parent4baeeefabe36b385f9a44c933974617d9ae2a37c (diff)
Updated the default label and text colors of all widgets to use
FL_FOREGROUND_COLOR instead of FL_BLACK (STR #1052) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.cxx')
-rw-r--r--fluid/Fl_Type.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/Fl_Type.cxx b/fluid/Fl_Type.cxx
index 01d5da7d5..222444cd5 100644
--- a/fluid/Fl_Type.cxx
+++ b/fluid/Fl_Type.cxx
@@ -248,8 +248,8 @@ extern const char* subclassname(Fl_Type*);
void Widget_Browser::item_draw(void *v, int X, int Y, int, int) const {
Fl_Type *l = (Fl_Type *)v;
X += 3 + 18 + l->level * 12;
- if (l->new_selected) fl_color(fl_contrast(FL_BLACK,FL_SELECTION_COLOR));
- else fl_color(FL_BLACK);
+ if (l->new_selected) fl_color(fl_contrast(FL_FOREGROUND_COLOR,FL_SELECTION_COLOR));
+ else fl_color(FL_FOREGROUND_COLOR);
Fl_Pixmap *pm = pixmap[l->pixmapID()];
if (pm) pm->draw(X-18, Y);
if (l->is_public() == 0) lock_pixmap.draw(X - 17, Y);