diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-07-19 22:40:37 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-07-19 22:40:37 +1000 |
commit | ab25b51036a810c326b51a230700971c0f431f74 (patch) | |
tree | 15022810b1045502d66b1aaebe7911b4968a907a /c_fl_menu_bar.cpp | |
parent | 6aa9475d598065081866913bb86a049a6d2d0c1a (diff) |
Starting to sketch the outline of menu widgets and callbacks
Diffstat (limited to 'c_fl_menu_bar.cpp')
-rw-r--r-- | c_fl_menu_bar.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/c_fl_menu_bar.cpp b/c_fl_menu_bar.cpp new file mode 100644 index 0000000..3349008 --- /dev/null +++ b/c_fl_menu_bar.cpp @@ -0,0 +1,16 @@ + + +#include <FL/Fl_Menu_Bar.H> +#include "c_fl_menu_bar.h" + + +MENUBAR new_fl_menu_bar(int x, int y, int w, int h, char* label) { + Fl_Menu_Bar *m = new Fl_Menu_Bar(x, y, w, h, label); + return m; +} + + +void free_fl_menu_bar(MENUBAR m) { + delete reinterpret_cast<Fl_Menu_Bar*>(m); +} + |