summaryrefslogtreecommitdiff
path: root/src/c_fl_group.h
blob: b2db787889669aad984a1c1942fddbdcbf9cfaea (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


#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" 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" int fl_group_find(GROUP g, WIDGET item);
extern "C" void fl_group_insert(GROUP g, WIDGET item, int place);
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_resizable(GROUP g, WIDGET item);

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


#endif