summaryrefslogtreecommitdiff
path: root/src/c_fl_rgb_image.h
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-05-15 12:14:49 +1000
committerJed Barber <jjbarber@y7mail.com>2017-05-15 12:14:49 +1000
commit7e92861796b9ec5aa4cdfc4ebff412dd96aeb137 (patch)
tree820cc94f6a230238b9c3869a627094489f293c62 /src/c_fl_rgb_image.h
parentffc566b41d9dd64b2d571f68458a272f503958c6 (diff)
Most relevant RGB_Image methods implemented except for Draw, Create
Diffstat (limited to 'src/c_fl_rgb_image.h')
-rw-r--r--src/c_fl_rgb_image.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/c_fl_rgb_image.h b/src/c_fl_rgb_image.h
new file mode 100644
index 0000000..3209909
--- /dev/null
+++ b/src/c_fl_rgb_image.h
@@ -0,0 +1,20 @@
+
+
+#ifndef FL_RGB_IMAGE_GUARD
+#define FL_RGB_IMAGE_GUARD
+
+
+typedef void* RGB_IMAGE;
+
+
+extern "C" void free_fl_rgb_image(RGB_IMAGE i);
+extern "C" RGB_IMAGE fl_rgb_image_copy(RGB_IMAGE i, int w, int h);
+extern "C" RGB_IMAGE fl_rgb_image_copy2(RGB_IMAGE i);
+
+
+extern "C" void fl_rgb_image_color_average(RGB_IMAGE i, int c, float b);
+extern "C" void fl_rgb_image_desaturate(RGB_IMAGE i);
+
+
+#endif
+