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_group.h | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'src/c_fl_group.h') diff --git a/src/c_fl_group.h b/src/c_fl_group.h index ab1d7c4..5eaa333 100644 --- a/src/c_fl_group.h +++ b/src/c_fl_group.h @@ -10,27 +10,13 @@ #include "c_fl_widget.h" - - typedef void* GROUP; - - -extern "C" void group_set_draw_hook(GROUP g, void * d); -extern "C" void fl_group_draw(GROUP g); -extern "C" void group_set_handle_hook(GROUP g, void * h); -extern "C" int fl_group_handle(GROUP g, int e); - - - - extern "C" GROUP new_fl_group(int x, int y, int w, int h, char* label); extern "C" void free_fl_group(GROUP g); - - extern "C" void fl_group_end(GROUP g); @@ -59,5 +45,10 @@ extern "C" void * fl_group_get_current(); extern "C" void fl_group_set_current(GROUP g); +extern "C" void fl_group_draw(GROUP g); +extern "C" int fl_group_handle(GROUP g, int e); + + #endif + -- cgit