summaryrefslogtreecommitdiff
path: root/src/c_fl_event.cpp
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-20 00:42:19 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-20 00:42:19 +1300
commit82eb9509e9e273e8e9e7e584553ccc49f476d4a3 (patch)
treefcd903955511ba8798e76f76154c4d5b841ad6a5 /src/c_fl_event.cpp
parentf27eb859eff94ec9c13239daee15f60ffecde089 (diff)
Filled holes in Fl_Text_Editor binding and make key/modifier/shortcut/flag representations more in line with C++
Diffstat (limited to 'src/c_fl_event.cpp')
-rw-r--r--src/c_fl_event.cpp12
1 files changed, 6 insertions, 6 deletions
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);
}