summaryrefslogtreecommitdiff
path: root/body/c_fl_group.h
diff options
context:
space:
mode:
Diffstat (limited to 'body/c_fl_group.h')
-rw-r--r--body/c_fl_group.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/body/c_fl_group.h b/body/c_fl_group.h
new file mode 100644
index 0000000..af4559d
--- /dev/null
+++ b/body/c_fl_group.h
@@ -0,0 +1,59 @@
+
+
+// Programmed by Jedidiah Barber
+// Released into the public domain
+
+
+#ifndef FL_GROUP_GUARD
+#define FL_GROUP_GUARD
+
+#include "c_fl_widget.h"
+
+
+typedef void* GROUP;
+
+
+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_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_add_resizable(GROUP g, WIDGET w);
+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_resize(GROUP g, int x, int y, int w, int h);
+
+
+extern "C" void * fl_group_get_current();
+extern "C" void fl_group_set_current(GROUP g);
+extern "C" void fl_group_begin(GROUP g);
+extern "C" void fl_group_end(GROUP g);
+
+
+extern "C" void fl_group_draw(GROUP g);
+extern "C" void fl_group_draw_child(GROUP g, WIDGET w);
+extern "C" void fl_group_draw_children(GROUP g);
+extern "C" void fl_group_draw_outside_label(GROUP g, WIDGET w);
+extern "C" void fl_group_update_child(GROUP g, WIDGET w);
+extern "C" int fl_group_handle(GROUP g, int e);
+
+
+#endif
+
+