summaryrefslogtreecommitdiff
path: root/src/c_fl_tabs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_tabs.h')
-rw-r--r--src/c_fl_tabs.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/c_fl_tabs.h b/src/c_fl_tabs.h
new file mode 100644
index 0000000..2d12500
--- /dev/null
+++ b/src/c_fl_tabs.h
@@ -0,0 +1,39 @@
+
+
+#ifndef FL_TABS_GUARD
+#define FL_TABS_GUARD
+
+
+
+
+typedef void* TABS;
+
+
+
+
+extern "C" void tabs_set_draw_hook(TABS t, void * d);
+extern "C" void fl_tabs_draw(TABS t);
+extern "C" void tabs_set_handle_hook(TABS t, void * h);
+extern "C" int fl_tabs_handle(TABS t, int e);
+
+
+
+
+extern "C" TABS new_fl_tabs(int x, int y, int w, int h, char* label);
+extern "C" void free_fl_tabs(TABS t);
+
+
+
+
+extern "C" void fl_tabs_client_area(TABS t, int * x, int * y, int * w, int * h, int i);
+
+
+extern "C" void * fl_tabs_get_push(TABS t);
+extern "C" void fl_tabs_set_push(TABS t, void * w);
+extern "C" void * fl_tabs_get_value(TABS t);
+extern "C" void fl_tabs_set_value(TABS t, void * w);
+extern "C" void * fl_tabs_which(TABS t, int x, int y);
+
+
+#endif
+