diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-12 01:14:58 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-12 01:14:58 +1300 |
commit | e93b9bbc02e2791f3a35b6f077fcbb8514c28aed (patch) | |
tree | 3661530027db6809a9cbad7b2477416009e00787 /src/c_fl_widget.h | |
parent | 53aa8144851913994b963ed611cca8885b8f9a9e (diff) |
Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there
Diffstat (limited to 'src/c_fl_widget.h')
-rw-r--r-- | src/c_fl_widget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/c_fl_widget.h b/src/c_fl_widget.h index 669ccda..9634ba4 100644 --- a/src/c_fl_widget.h +++ b/src/c_fl_widget.h @@ -97,6 +97,10 @@ extern "C" void fl_widget_set_image(WIDGET w, void * img); extern "C" void fl_widget_set_deimage(WIDGET w, void * img); +extern "C" unsigned char fl_widget_get_type(WIDGET w); +extern "C" void fl_widget_set_type(WIDGET w, unsigned char t); + + extern "C" int fl_widget_damage(WIDGET w); extern "C" void fl_widget_set_damage(WIDGET w, int t); extern "C" void fl_widget_set_damage2(WIDGET w, int t, int x, int y, int d, int h); @@ -109,3 +113,4 @@ extern "C" int fl_widget_handle(WIDGET w, int e); #endif + |