summaryrefslogtreecommitdiff
path: root/src/c_fl_round_button.h
blob: 8deecc921d99f2adcb7b40b5baab00f5d01de579 (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_ROUND_BUTTON_GUARD
#define FL_ROUND_BUTTON_GUARD




typedef void* ROUNDBUTTON;




extern "C" inline void round_button_set_draw_hook(ROUNDBUTTON b, void * d);
extern "C" inline void fl_round_button_draw(ROUNDBUTTON b);
extern "C" inline void round_button_set_handle_hook(ROUNDBUTTON b, void * h);
extern "C" inline int fl_round_button_handle(ROUNDBUTTON b, int e);




extern "C" inline ROUNDBUTTON new_fl_round_button(int x, int y, int w, int h, char* label);
extern "C" inline void free_fl_round_button(ROUNDBUTTON b);


#endif