summaryrefslogtreecommitdiff
path: root/src/c_fl_sys_menu_bar.h
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_sys_menu_bar.h
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_sys_menu_bar.h')
-rw-r--r--src/c_fl_sys_menu_bar.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/c_fl_sys_menu_bar.h b/src/c_fl_sys_menu_bar.h
index 67e5f0d..1bde8f2 100644
--- a/src/c_fl_sys_menu_bar.h
+++ b/src/c_fl_sys_menu_bar.h
@@ -16,14 +16,11 @@ extern "C" void free_fl_sys_menu_bar(SYSMENUBAR m);
extern "C" int fl_sys_menu_bar_add(SYSMENUBAR m, const char * t);
-extern "C" int fl_sys_menu_bar_add2(SYSMENUBAR m, const char * t,
- unsigned long s, void * u, unsigned long f);
-extern "C" int fl_sys_menu_bar_add3(SYSMENUBAR m, const char * t,
- const char * s, void * u, unsigned long f);
-extern "C" int fl_sys_menu_bar_insert(SYSMENUBAR m, int p, const char * t,
- unsigned long s, void * u, unsigned long f);
+extern "C" int fl_sys_menu_bar_add2(SYSMENUBAR m, const char * t, int s, void * u, int f);
+extern "C" int fl_sys_menu_bar_add3(SYSMENUBAR m, const char * t, const char * s, void * u, int f);
+extern "C" int fl_sys_menu_bar_insert(SYSMENUBAR m, int p, const char * t, int s, void * u, int f);
extern "C" int fl_sys_menu_bar_insert2(SYSMENUBAR m, int p, const char * t,
- const char * s, void * u, unsigned long f);
+ const char * s, void * u, int f);
extern "C" void fl_sys_menu_bar_set_menu(SYSMENUBAR m, void * d);
extern "C" void fl_sys_menu_bar_remove(SYSMENUBAR m, int p);
extern "C" void fl_sys_menu_bar_clear(SYSMENUBAR m);
@@ -35,9 +32,9 @@ extern "C" const void * fl_sys_menu_bar_get_item(SYSMENUBAR m, int i);
extern "C" void fl_sys_menu_bar_setonly(SYSMENUBAR m, void * mi);
extern "C" void fl_sys_menu_bar_replace(SYSMENUBAR m, int i, const char * t);
-extern "C" void fl_sys_menu_bar_shortcut(SYSMENUBAR m, int p, unsigned long s);
-extern "C" unsigned long fl_sys_menu_bar_get_mode(SYSMENUBAR m, int p);
-extern "C" void fl_sys_menu_bar_set_mode(SYSMENUBAR m, int p, unsigned long f);
+extern "C" void fl_sys_menu_bar_shortcut(SYSMENUBAR m, int p, int s);
+extern "C" int fl_sys_menu_bar_get_mode(SYSMENUBAR m, int p);
+extern "C" void fl_sys_menu_bar_set_mode(SYSMENUBAR m, int p, int f);
extern "C" void fl_sys_menu_bar_global(SYSMENUBAR m);