summaryrefslogtreecommitdiff
path: root/src/c_fl_simple_counter.h
blob: 397b48886ac343c6f5317aef7a82a68a6934b88d (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* SIMPLECOUNTER;


extern "C" SIMPLECOUNTER new_fl_simple_counter(int x, int y, int w, int h, char* label);
extern "C" void free_fl_simple_counter(SIMPLECOUNTER c);


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


#endif