summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_menu_item.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-09-15 03:41:54 +1000
committerJed Barber <jjbarber@y7mail.com>2016-09-15 03:41:54 +1000
commitbfcc3811a3ce55cafa6f7809d0d92c87238ea032 (patch)
tree6727c02fc76f00580ce7a238ea9cb5f2656e7918 /src/fltk_binding/c_fl_menu_item.cpp
parent6c61d634be9aa3cd30c1bf0254eee5d36a37eeb5 (diff)
Menu callbacks working, also some quick testing code that'll probably get deleted later because wynaut
Diffstat (limited to 'src/fltk_binding/c_fl_menu_item.cpp')
-rw-r--r--src/fltk_binding/c_fl_menu_item.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/fltk_binding/c_fl_menu_item.cpp b/src/fltk_binding/c_fl_menu_item.cpp
deleted file mode 100644
index 7c2a38c..0000000
--- a/src/fltk_binding/c_fl_menu_item.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-#include <FL/Fl_Menu_Item.H>
-#include "c_fl_menu_item.h"
-
-
-MENUITEM new_fl_menu_item(char* label, void* c, unsigned long k, unsigned short f) {
- Fl_Menu_Item *m = new Fl_Menu_Item;
- m->add(label, k, reinterpret_cast<void (*)(Fl_Widget*,void*)>(c), 0, f);
- return m;
-}
-
-
-void free_fl_menu_item(MENUITEM m) {
- delete reinterpret_cast<Fl_Menu_Item*>(m);
-}
-