From 8970b5da2d153f74753ce5e107cc66c974f32bf2 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 2 Dec 1998 18:55:58 +0000 Subject: 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 --- src/Fl_Counter.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_Counter.cxx') 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 $". // -- cgit v1.2.3