summaryrefslogtreecommitdiff
path: root/body/c_fl_event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'body/c_fl_event.cpp')
-rw-r--r--body/c_fl_event.cpp15
1 files changed, 15 insertions, 0 deletions
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<Fl_Event_Handler>(f));
}
+void fl_event_remove_handler(void * f) {
+ Fl::remove_handler(reinterpret_cast<Fl_Event_Handler>(f));
+}
+
+void fl_event_add_system_handler(void * h, void * f) {
+ Fl::add_system_handler(reinterpret_cast<Fl_System_Handler>(h), f);
+}
+
+void fl_event_remove_system_handler(void * h) {
+ Fl::remove_system_handler(reinterpret_cast<Fl_System_Handler>(h));
+}
+
+
+
+
void fl_event_set_dispatch(void * f) {
Fl::event_dispatch(reinterpret_cast<Fl_Event_Dispatch>(f));
}