Revision 773,
579 bytes
checked in by gumbau, 19 years ago
(diff) |
FLTK imported to SVN repository to be linked agains the GeoTool? application
|
Rev | Line | |
---|
[773] | 1 | // This class is provided for back compatability only with some fltk2.0 |
---|
| 2 | // versions. You can turn on double buffering on a normal window if |
---|
| 3 | // you want it. |
---|
| 4 | |
---|
| 5 | #ifndef fltk_DoubleBufferWindow_h |
---|
| 6 | #define fltk_DoubleBufferWindow_h |
---|
| 7 | |
---|
| 8 | #ifndef fltk_Window_h |
---|
| 9 | # include "Window.h" |
---|
| 10 | #endif |
---|
| 11 | |
---|
| 12 | namespace fltk { |
---|
| 13 | |
---|
| 14 | class DoubleBufferWindow : public Window { |
---|
| 15 | |
---|
| 16 | public: |
---|
| 17 | DoubleBufferWindow(int x, int y, int w, int h, const char*l = 0) |
---|
| 18 | : Window(x,y,w,h,l) {set_double_buffer();} |
---|
| 19 | |
---|
| 20 | DoubleBufferWindow(int x, int y, const char*l = 0) |
---|
| 21 | : Window(x,y,l) {set_double_buffer();} |
---|
| 22 | |
---|
| 23 | }; |
---|
| 24 | |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.