From 82eb9509e9e273e8e9e7e584553ccc49f476d4a3 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Mon, 20 Jan 2025 00:42:19 +1300 Subject: Filled holes in Fl_Text_Editor binding and make key/modifier/shortcut/flag representations more in line with C++ --- src/c_fl_event.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/c_fl_event.cpp') diff --git a/src/c_fl_event.cpp b/src/c_fl_event.cpp index cdb8185..59a22df 100644 --- a/src/c_fl_event.cpp +++ b/src/c_fl_event.cpp @@ -85,11 +85,11 @@ int fl_event_get() { return Fl::event(); } -unsigned long fl_event_state() { +int fl_event_state() { return Fl::event_state(); } -int fl_event_check_state(unsigned long s) { +int fl_event_check_state(int s) { return Fl::event_state(s); } @@ -159,19 +159,19 @@ int fl_event_inside(int x, int y, int w, int h) { -unsigned long fl_event_key() { +int fl_event_key() { return Fl::event_key(); } -unsigned long fl_event_original_key() { +int fl_event_original_key() { return Fl::event_original_key(); } -int fl_event_key_during(unsigned long k) { +int fl_event_key_during(int k) { return Fl::event_key(k); } -int fl_event_get_key(unsigned long k) { +int fl_event_get_key(int k) { return Fl::get_key(k); } -- cgit