diff options
author | Aaron M. Ucko <ucko@debian.org> | 2005-04-05 19:42:39 +0000 |
---|---|---|
committer | Aaron M. Ucko <ucko@debian.org> | 2005-04-05 19:42:39 +0000 |
commit | 2fb75f144b320c4d82fb20b2ca8c11dee0ae443d (patch) | |
tree | 079deee51dc44779fd7b40e971c965751e635dcf /src/Fl_Slider.cxx | |
parent | 4479f759301fae81a4bd58bd12550861e504a930 (diff) |
Load fltk-1.1.5rc1 into branches/upstream/current.
Diffstat (limited to 'src/Fl_Slider.cxx')
-rw-r--r-- | src/Fl_Slider.cxx | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/Fl_Slider.cxx b/src/Fl_Slider.cxx index 921dd5b..cbd61c9 100644 --- a/src/Fl_Slider.cxx +++ b/src/Fl_Slider.cxx @@ -1,9 +1,9 @@ // -// "$Id: Fl_Slider.cxx,v 1.8.2.10.2.13 2003/01/30 21:42:44 easysw Exp $" +// "$Id: Fl_Slider.cxx,v 1.8.2.10.2.15 2004/04/11 04:38:58 easysw Exp $" // // Slider widget for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2003 by Bill Spitzak and others. +// Copyright 1998-2004 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -83,13 +83,9 @@ int Fl_Slider::scrollvalue(int p, int W, int t, int l) { // actually it ranges from 0 to 1/(1-size). void Fl_Slider::draw_bg(int X, int Y, int W, int H) { - if (!(damage()&FL_DAMAGE_ALL)) { // not a complete redraw - fl_push_clip(X, Y, W, H); - draw_box(); - fl_pop_clip(); - } else { - draw_box(); - } + fl_push_clip(X, Y, W, H); + draw_box(); + fl_pop_clip(); Fl_Color black = active_r() ? FL_FOREGROUND_COLOR : FL_INACTIVE_COLOR; if (type() == FL_VERT_NICE_SLIDER) { @@ -290,5 +286,5 @@ int Fl_Slider::handle(int event) { } // -// End of "$Id: Fl_Slider.cxx,v 1.8.2.10.2.13 2003/01/30 21:42:44 easysw Exp $". +// End of "$Id: Fl_Slider.cxx,v 1.8.2.10.2.15 2004/04/11 04:38:58 easysw Exp $". // |