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


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


extern "C" void fl_simple_counter_draw(SIMPLE_COUNTER c);
extern "C" int fl_simple_counter_handle(SIMPLE_COUNTER c, int e);


#endif