summaryrefslogtreecommitdiff
path: root/src/c_fl_menu.h
blob: e173e8e7748734a896ec94f891af3594c4c359c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33


#ifndef FL_MENU_GUARD
#define FL_MENU_GUARD




typedef void* MENU;
//  typedef void* MENUITEM;




extern "C" void menu_set_draw_hook(MENU m, void * d);
extern "C" void menu_set_handle_hook(MENU m, void * h);




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);


#endif