From e93b9bbc02e2791f3a35b6f077fcbb8514c28aed Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 12 Jan 2025 01:14:58 +1300 Subject: Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there --- src/c_fl_widget.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/c_fl_widget.h') 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 + -- cgit