summaryrefslogtreecommitdiff
path: root/src/c_fl_image_surface.h
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2018-03-27 12:32:42 +1100
committerJed Barber <jjbarber@y7mail.com>2018-03-27 12:32:42 +1100
commit17150a9322c650f804e7f9682a9beba573a8c9b7 (patch)
treee8b88c356465f7f036b74b04f9f1e09a9deef325 /src/c_fl_image_surface.h
parent7c3e3b91b4aa65e314dde577ebaccb83771f4279 (diff)
Added FLTK.Devices.Surfaces.Image
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
+