summaryrefslogtreecommitdiff
path: root/src/c_fl_simple_counter.h
blob: 54c5f195ab6166a9088f87d065ddbbf97717715e (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


#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