summaryrefslogtreecommitdiff
path: root/src/c_fl_menu.h
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-05-01 22:56:51 +1000
committerJed Barber <jjbarber@y7mail.com>2017-05-01 22:56:51 +1000
commitfbdef14a42388934067427854b6f5559bef31e8d (patch)
treea6d8cd4df18aaeb8b5293e60d0c0120abbcd035c /src/c_fl_menu.h
parent727cd771facf506910ddbb63532b3b6af7fb1b77 (diff)
Draw method implemented for Groups, Menus, although Menus are now no longer abstract even though they should be
Diffstat (limited to 'src/c_fl_menu.h')
-rw-r--r--src/c_fl_menu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/c_fl_menu.h b/src/c_fl_menu.h
index 2b9aa68..9276ccb 100644
--- a/src/c_fl_menu.h
+++ b/src/c_fl_menu.h
@@ -8,6 +8,14 @@ typedef void* MENU;
// typedef void* MENUITEM;
+extern "C" void menu_set_draw_hook(MENU m, void * d);
+extern "C" void fl_menu_draw(MENU m);
+
+
+extern "C" MENU new_fl_menu(int x, int y, int w, int h, char* label);
+extern "C" void free_fl_menu(MENU m);
+
+
extern "C" int fl_menu_add(MENU m, const char * t, unsigned long s, void * c, void * u, unsigned long f);
extern "C" const void * fl_menu_find_item(MENU m, const char * t);
extern "C" const void * fl_menu_mvalue(MENU m);