summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_button.h
blob: 21e18dc59bfc4429b955269123ed5154c8a916cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


#ifndef FL_BUTTON_GUARD
#define FL_BUTTON_GUARD


typedef void* my_fl_button;


extern "C" my_fl_button new_fl_button(int x, int y, int w, int h, char * label);
extern "C" void free_fl_button(my_fl_button f);

extern "C" int fl_button_get_state(my_fl_button b);
extern "C" void fl_button_set_state(my_fl_button b, int s);
extern "C" void fl_button_set_only(my_fl_button b);


#endif