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




typedef void* ROUNDBUTTON;




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




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


#endif