blob: 9451ddd46895ab7fea55953cd2dd17af9caccd67 (
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_SIMPLE_COUNTER_GUARD
#define FL_SIMPLE_COUNTER_GUARD
typedef void* SIMPLE_COUNTER;
extern "C" void simple_counter_set_draw_hook(SIMPLE_COUNTER c, void * d);
extern "C" void fl_simple_counter_draw(SIMPLE_COUNTER c);
extern "C" void simple_counter_set_handle_hook(SIMPLE_COUNTER c, void * h);
extern "C" int fl_simple_counter_handle(SIMPLE_COUNTER c, int e);
extern "C" SIMPLE_COUNTER new_fl_simple_counter(int x, int y, int w, int h, char* label);
extern "C" void free_fl_simple_counter(SIMPLE_COUNTER c);
#endif
|