summaryrefslogtreecommitdiff
path: root/src/c_fl_pack.h
blob: 6695708a2b051bbb195fc3ac9d526c61a956d694 (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
30
31
32
33


#ifndef FL_PACK_GUARD
#define FL_PACK_GUARD




typedef void* PACK;




extern "C" inline void pack_set_draw_hook(PACK n, void * d);
extern "C" inline void fl_pack_draw(PACK n);
extern "C" inline void pack_set_handle_hook(PACK n, void * h);
extern "C" inline int fl_pack_handle(PACK n, int e);




extern "C" inline PACK new_fl_pack(int x, int y, int w, int h, char * label);
extern "C" inline void free_fl_pack(PACK p);




extern "C" inline int fl_pack_get_spacing(PACK p);
extern "C" inline void fl_pack_set_spacing(PACK p, int t);


#endif