diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Double_Window.H | 10 | ||||
| -rw-r--r-- | FL/Fl_Overlay_Window.H | 8 |
2 files changed, 10 insertions, 8 deletions
diff --git a/FL/Fl_Double_Window.H b/FL/Fl_Double_Window.H index 6cf892933..c788d3f0c 100644 --- a/FL/Fl_Double_Window.H +++ b/FL/Fl_Double_Window.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Double_Window.H,v 1.7.2.3 2001/01/22 15:13:37 easysw Exp $" +// "$Id: Fl_Double_Window.H,v 1.7.2.3.2.1 2001/12/20 05:27:14 matthiaswm Exp $" // // Double-buffered window header file for the Fast Light Tool Kit (FLTK). // @@ -31,6 +31,7 @@ class Fl_Double_Window : public Fl_Window { protected: FL_EXPORT void flush(int eraseoverlay); + char force_doublebuffering_; // force db, even if the OS already buffers windows (overlays need that on MacOS and Windows2000) public: FL_EXPORT void show(); void show(int a, char **b) {Fl_Window::show(a,b);} @@ -38,13 +39,14 @@ public: FL_EXPORT void resize(int,int,int,int); FL_EXPORT void hide(); FL_EXPORT ~Fl_Double_Window(); - Fl_Double_Window(int W, int H, const char *l = 0) : Fl_Window(W,H,l) {} + Fl_Double_Window(int W, int H, const char *l = 0) + : Fl_Window(W,H,l), force_doublebuffering_(0) {} Fl_Double_Window(int X, int Y, int W, int H, const char *l = 0) - : Fl_Window(X,Y,W,H,l) {} + : Fl_Window(X,Y,W,H,l), force_doublebuffering_(0) {} }; #endif // -// End of "$Id: Fl_Double_Window.H,v 1.7.2.3 2001/01/22 15:13:37 easysw Exp $". +// End of "$Id: Fl_Double_Window.H,v 1.7.2.3.2.1 2001/12/20 05:27:14 matthiaswm Exp $". // diff --git a/FL/Fl_Overlay_Window.H b/FL/Fl_Overlay_Window.H index 48e905623..c2b4a4b99 100644 --- a/FL/Fl_Overlay_Window.H +++ b/FL/Fl_Overlay_Window.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Overlay_Window.H,v 1.5.2.3 2001/01/22 15:13:37 easysw Exp $" +// "$Id: Fl_Overlay_Window.H,v 1.5.2.3.2.1 2001/12/20 05:27:14 matthiaswm Exp $" // // Overlay window header file for the Fast Light Tool Kit (FLTK). // @@ -41,14 +41,14 @@ public: FL_EXPORT int can_do_overlay(); FL_EXPORT void redraw_overlay(); Fl_Overlay_Window(int W, int H, const char *l=0) - : Fl_Double_Window(W,H,l) {overlay_ = 0;} + : Fl_Double_Window(W,H,l) {overlay_ = 0; force_doublebuffering_=1;} Fl_Overlay_Window(int X, int Y, int W, int H, const char *l=0) - : Fl_Double_Window(X,Y,W,H,l) {overlay_ = 0;} + : Fl_Double_Window(X,Y,W,H,l) {overlay_ = 0; force_doublebuffering_=1;} void show(int a, char **b) {Fl_Double_Window::show(a,b);} }; #endif // -// End of "$Id: Fl_Overlay_Window.H,v 1.5.2.3 2001/01/22 15:13:37 easysw Exp $". +// End of "$Id: Fl_Overlay_Window.H,v 1.5.2.3.2.1 2001/12/20 05:27:14 matthiaswm Exp $". // |
