summaryrefslogtreecommitdiff
path: root/src/c_fl_repeat_button.h
blob: fb88e86db13d2851caeaea7cf827c923e0c09b4f (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_REPEAT_BUTTON_GUARD
#define FL_REPEAT_BUTTON_GUARD




typedef void* REPEATBUTTON;




extern "C" void repeat_button_set_draw_hook(REPEATBUTTON b, void * d);
extern "C" void fl_repeat_button_draw(REPEATBUTTON b);
extern "C" void repeat_button_set_handle_hook(REPEATBUTTON b, void * h);
extern "C" int fl_repeat_button_handle(REPEATBUTTON b, int e);




extern "C" REPEATBUTTON new_fl_repeat_button(int x, int y, int w, int h, char* label);
extern "C" void free_fl_repeat_button(REPEATBUTTON b);


#endif