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


//  Programmed by Jedidiah Barber
//  Released into the public domain


#ifndef FL_MENU_BAR_GUARD
#define FL_MENU_BAR_GUARD




typedef void* MENUBAR;




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




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


#endif