summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-10-26 20:30:05 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-10-26 20:30:05 +0000
commitd2df17ac31a535771f0d7ceb804c20fc593ceef4 (patch)
tree51522914fa80eb5fed2abbb97124bb9a7b3d2350 /src
parent4625fdf7a5f2453c992a6d70177e8e08c07e41d8 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Light_Button.cxx8
1 files changed, 4 insertions, 4 deletions
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 $".
//