summaryrefslogtreecommitdiff
path: root/src/c_fl_repeat_button.h
blob: 5750a60a86ced2a5cd30d6de63df982fa05d1471 (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


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


#ifndef FL_REPEAT_BUTTON_GUARD
#define FL_REPEAT_BUTTON_GUARD


typedef void* REPEATBUTTON;


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);


extern "C" void fl_repeat_button_deactivate(REPEATBUTTON b);


extern "C" void fl_repeat_button_draw(REPEATBUTTON b);
extern "C" int fl_repeat_button_handle(REPEATBUTTON b, int e);


#endif