summaryrefslogtreecommitdiff
path: root/src/c_fl_tabs.h
blob: 97b2039033b228eda98666eacbd01882e34ddab8 (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
34
35
36
37
38
39


#ifndef FL_TABS_GUARD
#define FL_TABS_GUARD




typedef void* TABS;




extern "C" inline void tabs_set_draw_hook(TABS t, void * d);
extern "C" inline void fl_tabs_draw(TABS t);
extern "C" inline void tabs_set_handle_hook(TABS t, void * h);
extern "C" inline int fl_tabs_handle(TABS t, int e);




extern "C" inline TABS new_fl_tabs(int x, int y, int w, int h, char* label);
extern "C" inline void free_fl_tabs(TABS t);




extern "C" inline void fl_tabs_client_area(TABS t, int * x, int * y, int * w, int * h, int i);


extern "C" inline void * fl_tabs_get_push(TABS t);
extern "C" inline void fl_tabs_set_push(TABS t, void * w);
extern "C" inline void * fl_tabs_get_value(TABS t);
extern "C" inline void fl_tabs_set_value(TABS t, void * w);
extern "C" inline void * fl_tabs_which(TABS t, int x, int y);


#endif