diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-12-02 18:55:58 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-12-02 18:55:58 +0000 |
| commit | 8970b5da2d153f74753ce5e107cc66c974f32bf2 (patch) | |
| tree | 91071af7c17c76826b8dd67eb9a2cfc0c16e28b2 /src/Fl_Counter.cxx | |
| parent | 9c208650bf651d6d38780e55c34b8f870ebc3fe1 (diff) | |
More fixes for inactive drawing.
No more black box around symbols...
git-svn-id: file:///fltk/svn/fltk/trunk@122 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Counter.cxx')
| -rw-r--r-- | src/Fl_Counter.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Counter.cxx b/src/Fl_Counter.cxx index fd82decfa..77f37fe27 100644 --- a/src/Fl_Counter.cxx +++ b/src/Fl_Counter.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Counter.cxx,v 1.6 1998/12/02 18:43:27 mike Exp $" +// "$Id: Fl_Counter.cxx,v 1.7 1998/12/02 18:55:57 mike Exp $" // // Counter widget for the Fast Light Tool Kit (FLTK). // @@ -62,9 +62,9 @@ void Fl_Counter::draw() { if (!(damage()&FL_DAMAGE_ALL)) return; // only need to redraw text if (active_r()) - selcolor = selection_color(); + selcolor = labelcolor(); else - selcolor = inactive(selection_color()); + selcolor = inactive(labelcolor()); if (type() == FL_NORMAL_COUNTER) { draw_box(boxtype[1], xx[1], y(), ww[1], h(), color()); @@ -165,5 +165,5 @@ Fl_Counter::Fl_Counter(int x, int y, int w, int h, const char* l) } // -// End of "$Id: Fl_Counter.cxx,v 1.6 1998/12/02 18:43:27 mike Exp $". +// End of "$Id: Fl_Counter.cxx,v 1.7 1998/12/02 18:55:57 mike Exp $". // |
