diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-05-24 02:25:30 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-05-24 02:25:30 +1000 |
commit | ac5c51b6ee492b504e165408b742d2505e308e94 (patch) | |
tree | f0d0dc1bcade720f368f119240a0ade500adf092 /c_fl_double_window.cpp |
It's a start
Diffstat (limited to 'c_fl_double_window.cpp')
-rw-r--r-- | c_fl_double_window.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/c_fl_double_window.cpp b/c_fl_double_window.cpp new file mode 100644 index 0000000..7a9899c --- /dev/null +++ b/c_fl_double_window.cpp @@ -0,0 +1,27 @@ + + +#include <FL/Fl_Double_Window.H> +#include "c_fl_double_window.h" + + +my_fl_double_window new_fl_double_window(int x, int y, int w, int h, char * label) { + Fl_Double_Window *window = new Fl_Double_Window(x, y, w, h, label); + return window; +} + + +my_fl_double_window new_fl_double_window2(int w, int h) { + Fl_Double_Window *window = new Fl_Double_Window(w, h); + return window; +} + + +void free_fl_double_window(my_fl_double_window f) { + delete reinterpret_cast<Fl_Double_Window*>(f); +} + + +void fl_double_window_show(my_fl_double_window f) { + reinterpret_cast<Fl_Double_Window*>(f)->show(); +} + |