summaryrefslogtreecommitdiff
path: root/src/c_fl_button.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-12 01:14:58 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-12 01:14:58 +1300
commite93b9bbc02e2791f3a35b6f077fcbb8514c28aed (patch)
tree3661530027db6809a9cbad7b2477416009e00787 /src/c_fl_button.h
parent53aa8144851913994b963ed611cca8885b8f9a9e (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_button.h')
-rw-r--r--src/c_fl_button.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/c_fl_button.h b/src/c_fl_button.h
index 9c3ecad..f644a50 100644
--- a/src/c_fl_button.h
+++ b/src/c_fl_button.h
@@ -15,12 +15,6 @@ extern "C" void fl_button_extra_final(void * adaobj);
typedef void* BUTTON;
-extern "C" void button_set_draw_hook(BUTTON b, void * d);
-extern "C" void fl_button_draw(BUTTON b);
-extern "C" void button_set_handle_hook(BUTTON b, void * h);
-extern "C" int fl_button_handle(BUTTON b, int e);
-
-
extern "C" BUTTON new_fl_button(int x, int y, int w, int h, char* label);
extern "C" void free_fl_button(BUTTON b);
@@ -36,6 +30,13 @@ extern "C" int fl_button_get_shortcut(BUTTON b);
extern "C" void fl_button_set_shortcut(BUTTON b, int k);
+extern "C" void fl_button_draw(BUTTON b);
+extern "C" int fl_button_handle(BUTTON b, int e);
+
+
+extern "C" void fl_button_simulate_key_action(BUTTON b);
+
+
#endif