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 | f28f819c721fa5a317e23b3cc1eefb938115b47a (patch) | |
tree | 6c5ba8cc390f88d2ec326503ebd5fc30d4b4b99b /c_fl_widget.cpp | |
parent | 8d0d41649b6b4699cfb2c6c05dda09c29b4c3d15 (diff) |
Added logo, made find/replace/about windows attention grabbing
Diffstat (limited to 'c_fl_widget.cpp')
-rw-r--r-- | c_fl_widget.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c_fl_widget.cpp b/c_fl_widget.cpp index 9dea7ee..30c4de3 100644 --- a/c_fl_widget.cpp +++ b/c_fl_widget.cpp @@ -1,6 +1,7 @@ #include <FL/Fl_Widget.H> +#include <FL/Fl_Image.H> #include "c_fl_widget.h" @@ -111,3 +112,8 @@ void fl_widget_position(WIDGET w, int x, int y) { reinterpret_cast<Fl_Widget*>(w)->position(x, y); } + +void fl_widget_set_image(WIDGET w, void * img) { + reinterpret_cast<Fl_Widget*>(w)->image(reinterpret_cast<Fl_Image*>(img)); +} + |