From f2352c6df585d817b3613145ec81446f917dcc21 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 2 Mar 2025 16:06:45 +1300 Subject: Filled holes in FLTK.Static API --- body/c_fl_event.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'body/c_fl_event.cpp') diff --git a/body/c_fl_event.cpp b/body/c_fl_event.cpp index d88dfc2..7bfb466 100644 --- a/body/c_fl_event.cpp +++ b/body/c_fl_event.cpp @@ -16,6 +16,21 @@ void fl_event_add_handler(void * f) { Fl::add_handler(reinterpret_cast(f)); } +void fl_event_remove_handler(void * f) { + Fl::remove_handler(reinterpret_cast(f)); +} + +void fl_event_add_system_handler(void * h, void * f) { + Fl::add_system_handler(reinterpret_cast(h), f); +} + +void fl_event_remove_system_handler(void * h) { + Fl::remove_system_handler(reinterpret_cast(h)); +} + + + + void fl_event_set_dispatch(void * f) { Fl::event_dispatch(reinterpret_cast(f)); } -- cgit