summaryrefslogtreecommitdiff
path: root/src/c_fl_box.h
blob: 10e0d5f6ff73873dcd941c52dbbbfee315ca9aaa (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_BOX_GUARD
#define FL_BOX_GUARD




typedef void* BOX;




extern "C" inline void box_set_draw_hook(BOX n, void * d);
extern "C" inline void fl_box_draw(BOX n);
extern "C" inline void box_set_handle_hook(BOX n, void * h);
extern "C" inline int fl_box_handle(BOX n, int e);




extern "C" inline BOX new_fl_box(int x, int y, int w, int h, char * label);
extern "C" inline void free_fl_box(BOX b);


#endif