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


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


#ifndef FL_MENU_BUTTON_GUARD
#define FL_MENU_BUTTON_GUARD


extern "C" void fl_menu_button_extra_init
    (void * adaobj, int x, int y, int w, int h, const char * label);
extern "C" void fl_menu_button_extra_final(void * adaobj);


typedef void* MENUBUTTON;


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);
extern "C" const void * fl_menu_button_popup(MENUBUTTON m);


extern "C" void fl_menu_button_draw(MENUBUTTON m);
extern "C" int fl_menu_button_handle(MENUBUTTON m, int e);


#endif