summaryrefslogtreecommitdiff
path: root/src/c_fl_group.h
blob: 6e13503347e163cce2feda32a4a7ffcee6d5eb94 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59


#ifndef FL_GROUP_GUARD
#define FL_GROUP_GUARD

#include "c_fl_widget.h"




typedef void* GROUP;




extern "C" void group_set_draw_hook(GROUP g, void * d);
extern "C" void fl_group_draw(GROUP g);
extern "C" void group_set_handle_hook(GROUP g, void * h);
extern "C" int fl_group_handle(GROUP g, int e);




extern "C" GROUP new_fl_group(int x, int y, int w, int h, char* label);
extern "C" void free_fl_group(GROUP g);




extern "C" void fl_group_end(GROUP g);


extern "C" void fl_group_add(GROUP g, WIDGET item);
extern "C" void fl_group_insert(GROUP g, WIDGET item, int place);
extern "C" void fl_group_insert2(GROUP g, WIDGET item, WIDGET before);
extern "C" void fl_group_remove(GROUP g, WIDGET item);
extern "C" void fl_group_remove2(GROUP g, int place);


extern "C" void * fl_group_child(GROUP g, int place);
extern "C" int fl_group_find(GROUP g, WIDGET item);
extern "C" int fl_group_children(GROUP g);


//extern "C" unsigned int fl_group_get_clip_children(GROUP g);
//extern "C" void fl_group_set_clip_children(GROUP g, int c);


extern "C" void * fl_group_get_resizable(GROUP g);
extern "C" void fl_group_set_resizable(GROUP g, WIDGET item);
extern "C" void fl_group_init_sizes(GROUP g);


extern "C" void * fl_group_get_current();
extern "C" void fl_group_set_current(GROUP g);


#endif