diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-10-05 15:44:17 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-10-05 15:44:17 +1100 |
commit | 116a1589a6b49734f05e5ffdcbe6507470c0da12 (patch) | |
tree | e0ecae0095e9dcfc3c226358967e680236261ba0 /src/fltk_binding/c_fl_window.cpp | |
parent | 3b643fb37910c216d921e742ae30471606093ed9 (diff) |
Added logo, made find/replace/about windows attention grabbing
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(); +} + |