summaryrefslogtreecommitdiff
path: root/src/c_fl_roller.h
blob: fa76d24c792c7fa9b0fd17185f0ff3fa51971053 (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_ROLLER_GUARD
#define FL_ROLLER_GUARD




typedef void* ROLLER;




extern "C" inline void roller_set_draw_hook(ROLLER r, void * d);
extern "C" inline void fl_roller_draw(ROLLER r);
extern "C" inline void roller_set_handle_hook(ROLLER r, void * h);
extern "C" inline int fl_roller_handle(ROLLER r, int e);




extern "C" inline ROLLER new_fl_roller(int x, int y, int w, int h, char* label);
extern "C" inline void free_fl_roller(ROLLER r);


#endif