summaryrefslogtreecommitdiff
path: root/body/c_fl_tabs.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-21 21:04:54 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-21 21:04:54 +1300
commitb4438b2fbe895694be98e6e8426103deefc51448 (patch)
tree760d86cd7c06420a91dad102cc9546aee73146fc /body/c_fl_tabs.h
parenta4703a65b015140cd4a7a985db66264875ade734 (diff)
Split public API and private implementation files into different directories
Diffstat (limited to 'body/c_fl_tabs.h')
-rw-r--r--body/c_fl_tabs.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/body/c_fl_tabs.h b/body/c_fl_tabs.h
new file mode 100644
index 0000000..3226b2d
--- /dev/null
+++ b/body/c_fl_tabs.h
@@ -0,0 +1,35 @@
+
+
+// Programmed by Jedidiah Barber
+// Released into the public domain
+
+
+#ifndef FL_TABS_GUARD
+#define FL_TABS_GUARD
+
+
+typedef void* TABS;
+
+
+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);
+
+
+extern "C" void fl_tabs_draw(TABS t);
+extern "C" void fl_tabs_redraw_tabs(TABS t);
+extern "C" int fl_tabs_handle(TABS t, int e);
+
+
+#endif
+
+