summaryrefslogtreecommitdiff
path: root/src/c_fl_output.h
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-05-10 17:45:59 +1000
committerJed Barber <jjbarber@y7mail.com>2017-05-10 17:45:59 +1000
commit9dcf299b63268278b0a9a27ed2dc600f19e458b2 (patch)
tree27de461d6c8b41afe76ca9ec9a55a294bf13515b /src/c_fl_output.h
parent1a184730dae07956109c476824d1536552b2e139 (diff)
Output widgets added
Diffstat (limited to 'src/c_fl_output.h')
-rw-r--r--src/c_fl_output.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/c_fl_output.h b/src/c_fl_output.h
new file mode 100644
index 0000000..da88cb1
--- /dev/null
+++ b/src/c_fl_output.h
@@ -0,0 +1,19 @@
+
+
+#ifndef FL_OUTPUT_GUARD
+#define FL_OUTPUT_GUARD
+
+
+// using just "OUTPUT" doesn't compile for some reason
+typedef void* OUTPUTT;
+
+
+extern "C" void output_set_draw_hook(OUTPUTT n, void * d);
+extern "C" void fl_output_draw(OUTPUTT n);
+
+extern "C" OUTPUTT new_fl_output(int x, int y, int w, int h, char* label);
+extern "C" void free_fl_output(OUTPUTT i);
+
+
+#endif
+