diff options
Diffstat (limited to 'src/fltk_binding/c_fl_window.cpp')
-rw-r--r-- | src/fltk_binding/c_fl_window.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fltk_binding/c_fl_window.cpp b/src/fltk_binding/c_fl_window.cpp index 9c8dbc6..fbce39b 100644 --- a/src/fltk_binding/c_fl_window.cpp +++ b/src/fltk_binding/c_fl_window.cpp @@ -1,6 +1,7 @@ #include <FL/Fl_Window.H> +#include <FL/Fl_RGB_Image.H> #include "c_fl_window.h" @@ -40,3 +41,18 @@ void fl_window_size_range(WINDOW n, int lw, int lh, int hw, int hh, int dw, int reinterpret_cast<Fl_Window*>(n)->size_range(lw, lh, hw, hh, dw, dh, a); } + +void fl_window_set_icon(WINDOW n, void * img) { + reinterpret_cast<Fl_Window*>(n)->icon(reinterpret_cast<Fl_RGB_Image*>(img)); +} + + +void fl_window_set_modal(WINDOW n) { + reinterpret_cast<Fl_Window*>(n)->set_modal(); +} + + +void fl_window_set_non_modal(WINDOW n) { + reinterpret_cast<Fl_Window*>(n)->set_non_modal(); +} + |