summaryrefslogtreecommitdiff
path: root/src/c_fl_image_surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_image_surface.h')
-rw-r--r--src/c_fl_image_surface.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/c_fl_image_surface.h b/src/c_fl_image_surface.h
new file mode 100644
index 0000000..3ecafd3
--- /dev/null
+++ b/src/c_fl_image_surface.h
@@ -0,0 +1,31 @@
+
+
+#ifndef FL_IMAGE_SURFACE_GUARD
+#define FL_IMAGE_SURFACE_GUARD
+
+
+
+
+typedef void* IMAGE_SURFACE;
+
+
+
+
+extern "C" IMAGE_SURFACE new_fl_image_surface(int w, int h, int r);
+extern "C" void free_fl_image_surface(IMAGE_SURFACE s);
+
+
+
+
+extern "C" void fl_image_surface_draw(IMAGE_SURFACE s, void * w, int dx, int dy);
+extern "C" void fl_image_surface_draw_decorated_window(IMAGE_SURFACE s, void * w, int dx, int dy);
+
+
+extern "C" void * fl_image_surface_image(IMAGE_SURFACE s);
+
+
+extern "C" void fl_image_surface_set_current(IMAGE_SURFACE s);
+
+
+#endif
+