mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 11:25:22 +08:00
Fix for Fl_Scroll redrawing background.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
CHANGES SINCE FLTK 1.0.9
|
CHANGES SINCE FLTK 1.0.9
|
||||||
|
|
||||||
|
- Bug #115509: Fl_Scroll not repainting background.
|
||||||
|
|
||||||
- Updated the configure script and makeinclude.in file
|
- Updated the configure script and makeinclude.in file
|
||||||
to work with the Sun PRO compilers.
|
to work with the Sun PRO compilers.
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// "$Id: Fl_Scroll.cxx,v 1.7.2.4 2000/08/12 08:42:12 spitzak Exp $"
|
// "$Id: Fl_Scroll.cxx,v 1.7.2.5 2000/11/20 15:30:54 easysw Exp $"
|
||||||
//
|
//
|
||||||
// Scroll widget for the Fast Light Tool Kit (FLTK).
|
// Scroll widget for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
@@ -43,7 +43,7 @@ void Fl_Scroll::draw_clip(void* v,int X, int Y, int W, int H) {
|
|||||||
fl_clip(X,Y,W,H);
|
fl_clip(X,Y,W,H);
|
||||||
Fl_Scroll* s = (Fl_Scroll*)v;
|
Fl_Scroll* s = (Fl_Scroll*)v;
|
||||||
// erase background if there is a boxtype:
|
// erase background if there is a boxtype:
|
||||||
if (s->box() && !(s->damage()&FL_DAMAGE_ALL)) {
|
if (s->box()) {
|
||||||
fl_color(s->color());
|
fl_color(s->color());
|
||||||
fl_rectf(X,Y,W,H);
|
fl_rectf(X,Y,W,H);
|
||||||
}
|
}
|
||||||
@@ -249,5 +249,5 @@ int Fl_Scroll::handle(int event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// End of "$Id: Fl_Scroll.cxx,v 1.7.2.4 2000/08/12 08:42:12 spitzak Exp $".
|
// End of "$Id: Fl_Scroll.cxx,v 1.7.2.5 2000/11/20 15:30:54 easysw Exp $".
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user