summaryrefslogtreecommitdiff
path: root/src/Fl_Light_Button.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-07-24 12:16:57 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-07-24 12:16:57 +0000
commit749ebab917fc55ef367e5635609140ea1da36961 (patch)
treecc593c6f693b0ae2c5382696abe384eb01219cc0 /src/Fl_Light_Button.cxx
parent827bf4dc5160a00f6fbdfc431ef092afe95aa776 (diff)
Don't need line style stuff...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Light_Button.cxx')
-rw-r--r--src/Fl_Light_Button.cxx16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/Fl_Light_Button.cxx b/src/Fl_Light_Button.cxx
index 9b3c9295a..6f16fb590 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.18 2002/07/24 12:15:25 easysw Exp $"
+// "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.19 2002/07/24 12:16:57 easysw Exp $"
//
// Lighted button widget for the Fast Light Tool Kit (FLTK).
//
@@ -57,13 +57,11 @@ void Fl_Light_Button::draw() {
draw_box(down_box(), x()+dx, y()+dy, W, W, FL_BACKGROUND2_COLOR);
if (value()) {
fl_color(col);
- int xu = x() + dx + W/3 + 1;
- int yu = y() + dy + W - 4;
- fl_line_style(FL_SOLID, 1);
- fl_line(xu - 2, yu - 2, xu, yu, xu + 5, yu - 5);
- fl_line(xu - 2, yu - 3, xu, yu - 1, xu + 5, yu - 6);
- fl_line(xu - 2, yu - 4, xu, yu - 2, xu + 5, yu - 7);
- fl_line_style(FL_SOLID);
+ int xu = x() + dx + W/3 + 1;
+ int yu = y() + dy + W - 4;
+ fl_line(xu - 2, yu - 2, xu, yu, xu + 5, yu - 5);
+ fl_line(xu - 2, yu - 3, xu, yu - 1, xu + 5, yu - 6);
+ fl_line(xu - 2, yu - 4, xu, yu - 2, xu + 5, yu - 7);
}
break;
case _FL_ROUND_DOWN_BOX :
@@ -144,5 +142,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.18 2002/07/24 12:15:25 easysw Exp $".
+// End of "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.19 2002/07/24 12:16:57 easysw Exp $".
//