summaryrefslogtreecommitdiff
path: root/src/c_fl_menu_bar.h
blob: ed5a9d0604843852ce620296433ff9f3a9e31cc1 (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


#ifndef FL_MENU_BAR_GUARD
#define FL_MENU_BAR_GUARD




typedef void* MENUBAR;




extern "C" inline void menu_bar_set_draw_hook(MENUBAR m, void * d);
extern "C" inline void fl_menu_bar_draw(MENUBAR m);
extern "C" inline void menu_bar_set_handle_hook(MENUBAR m, void * h);
extern "C" inline int fl_menu_bar_handle(MENUBAR m, int e);




extern "C" inline MENUBAR new_fl_menu_bar(int x, int y, int w, int h, char* label);
extern "C" inline void free_fl_menu_bar(MENUBAR m);


#endif