summaryrefslogtreecommitdiff
path: root/src/c_fl_cairo_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_cairo_window.h')
-rw-r--r--src/c_fl_cairo_window.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/c_fl_cairo_window.h b/src/c_fl_cairo_window.h
new file mode 100644
index 0000000..e9a1437
--- /dev/null
+++ b/src/c_fl_cairo_window.h
@@ -0,0 +1,29 @@
+
+
+// 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 x, int y, int w, int h, char * label);
+extern "C" CAIROWINDOW new_fl_cairo_window2(int w, int h, char * label);
+extern "C" CAIROWINDOW new_fl_cairo_window3(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
+
+