summaryrefslogtreecommitdiff
path: root/src/c_fl_widget.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-08 14:33:30 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-08 14:51:36 +1300
commit3a9028302447ad84363c580b2152f30417186667 (patch)
tree6f0e66ed7c0d831dfc744462335e76fdcb724d69 /src/c_fl_widget.h
parent49f2a539cdc77b504ddef00162625531b659c767 (diff)
Revised Input subhierarchy, separated bindings for Fl_Input and Fl_Input_ widgets
Diffstat (limited to 'src/c_fl_widget.h')
-rw-r--r--src/c_fl_widget.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/c_fl_widget.h b/src/c_fl_widget.h
index bdf6715..669ccda 100644
--- a/src/c_fl_widget.h
+++ b/src/c_fl_widget.h
@@ -8,25 +8,13 @@
#define FL_WIDGET_GUARD
-
-
typedef void* WIDGET;
-
-
-extern "C" void widget_set_draw_hook(WIDGET w, void * d);
-extern "C" void widget_set_handle_hook(WIDGET w, void * h);
-
-
-
-
extern "C" WIDGET new_fl_widget(int x, int y, int w, int h, char* label);
extern "C" void free_fl_widget(WIDGET w);
-
-
extern "C" void * fl_widget_get_user_data(WIDGET w);
extern "C" void fl_widget_set_user_data(WIDGET w, void * d);
@@ -112,9 +100,11 @@ extern "C" void fl_widget_set_deimage(WIDGET w, void * img);
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);
+extern "C" void fl_widget_draw(WIDGET w);
extern "C" void fl_widget_draw_label(WIDGET w, int x, int y, int d, int h, unsigned int a);
extern "C" void fl_widget_redraw(WIDGET w);
extern "C" void fl_widget_redraw_label(WIDGET w);
+extern "C" int fl_widget_handle(WIDGET w, int e);
#endif