From 3a9028302447ad84363c580b2152f30417186667 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Wed, 8 Jan 2025 14:33:30 +1300 Subject: Revised Input subhierarchy, separated bindings for Fl_Input and Fl_Input_ widgets --- src/c_fl_widget.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/c_fl_widget.h') 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 -- cgit