summaryrefslogtreecommitdiff
path: root/src/c_fl_adjuster.h
blob: fbaa5ec65237cf154bb4dbec00d25ee18d744cba (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


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


#ifndef FL_ADJUSTER_GUARD
#define FL_ADJUSTER_GUARD


typedef void* ADJUSTER;


extern "C" ADJUSTER new_fl_adjuster(int x, int y, int w, int h, char* label);
extern "C" void free_fl_adjuster(ADJUSTER a);


extern "C" int fl_adjuster_is_soft(ADJUSTER a);
extern "C" void fl_adjuster_set_soft(ADJUSTER a, int t);


extern "C" void fl_adjuster_value_damage(ADJUSTER a);
extern "C" void fl_adjuster_draw(ADJUSTER a);
extern "C" int fl_adjuster_handle(ADJUSTER a, int e);


#endif