summaryrefslogtreecommitdiff
path: root/src/c_fl_menu_button.h
blob: 2ccdb5163df2b6f2db32cf8d0f9ea3e50a472f19 (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


#ifndef FL_MENU_BUTTON_GUARD
#define FL_MENU_BUTTON_GUARD


typedef void* MENUBUTTON;


extern "C" void menu_button_set_draw_hook(MENUBUTTON m, void * d);
extern "C" void fl_menu_button_draw(MENUBUTTON m);
extern "C" void menu_button_set_handle_hook(MENUBUTTON m, void * h);
extern "C" int fl_menu_button_handle(MENUBUTTON m, int e);


extern "C" MENUBUTTON new_fl_menu_button(int x, int y, int w, int h, char* label);
extern "C" void free_fl_menu_button(MENUBUTTON m);


extern "C" void fl_menu_button_type(MENUBUTTON m, unsigned int t);


#endif