From d2df17ac31a535771f0d7ceb804c20fc593ceef4 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 26 Oct 2001 20:30:05 +0000 Subject: Draw check and radio buttons with a white background. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Light_Button.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_Light_Button.cxx') diff --git a/src/Fl_Light_Button.cxx b/src/Fl_Light_Button.cxx index a457375ee..f065f8bba 100644 --- a/src/Fl_Light_Button.cxx +++ b/src/Fl_Light_Button.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.5 2001/10/18 23:41:04 easysw Exp $" +// "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.6 2001/10/26 20:30:05 easysw Exp $" // // Lighted button widget for the Fast Light Tool Kit (FLTK). // @@ -46,7 +46,7 @@ void Fl_Light_Button::draw() { case FL_DOWN_BOX : case FL_UP_BOX : // Check box... - draw_box(down_box(), x()+d, y()+d, W, W, color()); + draw_box(down_box(), x()+d, y()+d, W, W, FL_WHITE); if (value()) { fl_color(col); fl_line_style(FL_SOLID, 2); @@ -59,7 +59,7 @@ void Fl_Light_Button::draw() { case _FL_ROUND_DOWN_BOX : case _FL_ROUND_UP_BOX : // Radio button... - draw_box(down_box(), x()+d, y()+d+1, W, W, color()); + draw_box(down_box(), x()+d, y()+d+1, W, W, FL_WHITE); if (value()) { fl_color(col); if (W > 12) { @@ -105,5 +105,5 @@ Fl_Light_Button::Fl_Light_Button(int x, int y, int w, int h, const char* l) } // -// End of "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.5 2001/10/18 23:41:04 easysw Exp $". +// End of "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.6 2001/10/26 20:30:05 easysw Exp $". // -- cgit v1.2.3