summaryrefslogtreecommitdiff
path: root/src/c_fl_rgb_image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_rgb_image.h')
-rw-r--r--src/c_fl_rgb_image.h29
1 files changed, 12 insertions, 17 deletions
diff --git a/src/c_fl_rgb_image.h b/src/c_fl_rgb_image.h
index a76d239..a09b58e 100644
--- a/src/c_fl_rgb_image.h
+++ b/src/c_fl_rgb_image.h
@@ -8,34 +8,29 @@
#define FL_RGB_IMAGE_GUARD
+typedef void* RGBIMAGE;
-typedef void* RGB_IMAGE;
-
-
-
-
-extern "C" RGB_IMAGE new_fl_rgb_image(void *data, int w, int h, int d, int ld);
-extern "C" RGB_IMAGE new_fl_rgb_image2(void *pix, unsigned int c);
-extern "C" void free_fl_rgb_image(RGB_IMAGE i);
+extern "C" RGBIMAGE new_fl_rgb_image(void *data, int w, int h, int d, int ld);
+extern "C" RGBIMAGE new_fl_rgb_image2(void *pix, unsigned int c);
+extern "C" void free_fl_rgb_image(RGBIMAGE i);
extern "C" size_t fl_rgb_image_get_max_size();
extern "C" void fl_rgb_image_set_max_size(size_t v);
-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" RGBIMAGE fl_rgb_image_copy(RGBIMAGE i, int w, int h);
+extern "C" RGBIMAGE fl_rgb_image_copy2(RGBIMAGE i);
+extern "C" void fl_rgb_image_color_average(RGBIMAGE i, int c, float b);
+extern "C" void fl_rgb_image_desaturate(RGBIMAGE 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);
+extern "C" void fl_rgb_image_uncache(RGBIMAGE i);
-extern "C" void fl_rgb_image_uncache(RGB_IMAGE i);
-
-
-extern "C" void fl_rgb_image_draw2(RGB_IMAGE i, int x, int y);
-extern "C" void fl_rgb_image_draw(RGB_IMAGE i, int x, int y, int w, int h, int cx, int cy);
+extern "C" void fl_rgb_image_draw2(RGBIMAGE i, int x, int y);
+extern "C" void fl_rgb_image_draw(RGBIMAGE i, int x, int y, int w, int h, int cx, int cy);
#endif
+