summaryrefslogtreecommitdiff
path: root/c_fl_menu_button.h
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-11-14 12:07:00 +1100
committerJed Barber <jjbarber@y7mail.com>2016-11-14 12:07:00 +1100
commitb34ef4af65403999f7e4e9c152f39cbe3744c7b5 (patch)
treed013e6f9138bd15018fd40d81e8831b60606680c /c_fl_menu_button.h
parent4b2b1c8d6e85760bc2d5f65f52a122a2ea1e542d (diff)
Added Menu_Buttons to FLTK binding, added rightclick menu to Editor
Diffstat (limited to 'c_fl_menu_button.h')
-rw-r--r--c_fl_menu_button.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/c_fl_menu_button.h b/c_fl_menu_button.h
new file mode 100644
index 0000000..8c089b6
--- /dev/null
+++ b/c_fl_menu_button.h
@@ -0,0 +1,18 @@
+
+
+#ifndef FL_MENU_BUTTON_GUARD
+#define FL_MENU_BUTTON_GUARD
+
+
+typedef void* MENUBUTTON;
+
+
+extern "C" MENUBUTTON new_fl_menu_button(int x, int y, int w, int h, char* label);
+extern "C" void free_fl_menu_button(MENUBUTTON m);
+
+
+extern "C" void fl_menu_button_type(MENUBUTTON m, unsigned int t);
+
+
+#endif
+