diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-21 14:21:44 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-21 14:21:44 +0000 |
| commit | 7657a2e4a536a9ee50a9277c2662dc49362ae341 (patch) | |
| tree | 4374705cd67b2c5195cc2aa5986fc1591680852b /src/Fl_Scroll.cxx | |
| parent | d3dee719fbaaa0b64d15ad7397e549d2e4ee7d6f (diff) | |
Fixed all the frigging file headings - was missing a $ in the Id string.
Applied some damage bit fixes from Bill Spitzak.
git-svn-id: file:///fltk/svn/fltk/trunk@28 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Scroll.cxx')
| -rw-r--r-- | src/Fl_Scroll.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Scroll.cxx b/src/Fl_Scroll.cxx index 7b154aa17..8c781a4a5 100644 --- a/src/Fl_Scroll.cxx +++ b/src/Fl_Scroll.cxx @@ -1,5 +1,5 @@ // -// "$Id" +// "$Id: Fl_Scroll.cxx,v 1.4 1998/10/21 14:20:20 mike Exp $" // // Scroll widget for the Fast Light Tool Kit (FLTK). // @@ -93,7 +93,7 @@ void Fl_Scroll::draw() { draw_box(box(),x(),y(),w(),h(),color()); draw_clip(this, X, Y, W, H); } else { - if (d & FL_DAMAGE_EXPOSE) { // scroll the contents: + if (d & FL_DAMAGE_SCROLL) { // scroll the contents: fl_scroll(X, Y, W, H, oldx-xposition_, oldy-yposition_, draw_clip, this); } if (d & FL_DAMAGE_CHILD) { // draw damaged children @@ -198,7 +198,7 @@ void Fl_Scroll::position(int X, int Y) { if (o == &hscrollbar || o == &scrollbar) continue; o->position(o->x()+dx, o->y()+dy); } - damage(FL_DAMAGE_EXPOSE); + damage(FL_DAMAGE_SCROLL); } void Fl_Scroll::hscrollbar_cb(Fl_Widget* o, void*) { @@ -231,5 +231,5 @@ int Fl_Scroll::handle(int event) { } // -// End of "$Id: Fl_Scroll.cxx,v 1.3 1998/10/19 20:46:02 mike Exp $". +// End of "$Id: Fl_Scroll.cxx,v 1.4 1998/10/21 14:20:20 mike Exp $". // |
