diff options
Diffstat (limited to 'src/c_fl_rgb_image.h')
-rw-r--r-- | src/c_fl_rgb_image.h | 20 |
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 + |