summaryrefslogtreecommitdiff
path: root/src/c_fl_round_clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_round_clock.h')
-rw-r--r--src/c_fl_round_clock.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/c_fl_round_clock.h b/src/c_fl_round_clock.h
new file mode 100644
index 0000000..c0e6585
--- /dev/null
+++ b/src/c_fl_round_clock.h
@@ -0,0 +1,27 @@
+
+
+#ifndef FL_ROUND_CLOCK_GUARD
+#define FL_ROUND_CLOCK_GUARD
+
+
+
+
+typedef void* ROUND_CLOCK;
+
+
+
+
+extern "C" void round_clock_set_draw_hook(ROUND_CLOCK c, void * d);
+extern "C" void fl_round_clock_draw(ROUND_CLOCK c);
+extern "C" void round_clock_set_handle_hook(ROUND_CLOCK c, void * h);
+extern "C" int fl_round_clock_handle(ROUND_CLOCK c, int e);
+
+
+
+
+extern "C" ROUND_CLOCK new_fl_round_clock(int x, int y, int w, int h, char* label);
+extern "C" void free_fl_round_clock(ROUND_CLOCK c);
+
+
+#endif
+