diff options
Diffstat (limited to 'fltk/fltk/compat/FL/Fl_Window.H')
-rw-r--r-- | fltk/fltk/compat/FL/Fl_Window.H | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/fltk/fltk/compat/FL/Fl_Window.H b/fltk/fltk/compat/FL/Fl_Window.H new file mode 100644 index 0000000..fbb3b84 --- /dev/null +++ b/fltk/fltk/compat/FL/Fl_Window.H @@ -0,0 +1,22 @@ +#ifndef Fl_Window_H +#define Fl_Window_H + +#include "Fl_Group.H" +#include <fltk/Window.h> + +class Fl_Window : public fltk::Window { + +public: + Fl_Window(int x, int y, int w, int h, const char*l = 0) + : fltk::Window(x,y,w,h,l) {begin();} + + Fl_Window(int x, int y, const char*l = 0) + : fltk::Window(x,y,l) {begin();} + + void border(bool v) { + if (!v) clear_border(); // set_border does not work + } +}; + +#endif + |