diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-10-15 08:14:37 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-10-15 08:14:37 +0000 |
| commit | b9c69353729de435757ed4d843499c983899092f (patch) | |
| tree | 3b9cc5c3d8ef0fdaf22aa0b229babb251774296d /src/Fl_Slider.cxx | |
| parent | 1d5fcfd080e321e8a890e5f2329613e45c16f732 (diff) | |
Fixed the shiny demo (and a DD program). Note: this fix is not
in fltk 2.0. It correctly draws the box behind a slider.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Slider.cxx')
| -rw-r--r-- | src/Fl_Slider.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Fl_Slider.cxx b/src/Fl_Slider.cxx index eb779565d..e72fc7b3a 100644 --- a/src/Fl_Slider.cxx +++ b/src/Fl_Slider.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Slider.cxx,v 1.8.2.1 1999/05/14 09:07:08 bill Exp $" +// "$Id: Fl_Slider.cxx,v 1.8.2.2 1999/10/15 08:14:37 bill Exp $" // // Slider widget for the Fast Light Tool Kit (FLTK). // @@ -84,8 +84,7 @@ int Fl_Slider::scrollvalue(int p, int w, int t, int l) { void Fl_Slider::draw_bg(int x, int y, int w, int h) { if (!(damage()&FL_DAMAGE_ALL)) { // not a complete redraw - fl_color(color()); - fl_rectf(x, y, w, h); + draw_box(); } Fl_Color black = active_r() ? FL_BLACK : FL_INACTIVE_COLOR; if (type() == FL_VERT_NICE_SLIDER) { @@ -238,5 +237,5 @@ int Fl_Slider::handle(int event) { } // -// End of "$Id: Fl_Slider.cxx,v 1.8.2.1 1999/05/14 09:07:08 bill Exp $". +// End of "$Id: Fl_Slider.cxx,v 1.8.2.2 1999/10/15 08:14:37 bill Exp $". // |
