summaryrefslogtreecommitdiff
path: root/body/c_fl_cairo_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'body/c_fl_cairo_window.h')
-rw-r--r--body/c_fl_cairo_window.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/body/c_fl_cairo_window.h b/body/c_fl_cairo_window.h
new file mode 100644
index 0000000..d004d16
--- /dev/null
+++ b/body/c_fl_cairo_window.h
@@ -0,0 +1,27 @@
+
+
+// Programmed by Jedidiah Barber
+// Released into the public domain
+
+
+#ifndef FL_CAIRO_WINDOW_GUARD
+#define FL_CAIRO_WINDOW_GUARD
+
+
+typedef void* CAIROWINDOW;
+
+
+extern "C" CAIROWINDOW new_fl_cairo_window(int w, int h);
+extern "C" void free_fl_cairo_window(CAIROWINDOW w);
+
+
+extern "C" void fl_cairo_window_set_draw_cb(CAIROWINDOW w, void * cb);
+
+
+extern "C" void fl_cairo_window_draw(CAIROWINDOW w);
+extern "C" int fl_cairo_window_handle(CAIROWINDOW w, int e);
+
+
+#endif
+
+