diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-06-17 11:28:39 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-06-17 11:28:39 +1000 |
commit | fb37523537cdb69a31dede401a604981ce8b7b9d (patch) | |
tree | 9d8f8dc3a00ce27b69aa4b7d7696b49d659fcbe1 /src/c_fl_rgb_image.cpp | |
parent | 33c3691b571ce4b6a2aa6997b70c3bc5d991ca9d (diff) |
Updated coding style, added progress log
Diffstat (limited to 'src/c_fl_rgb_image.cpp')
-rw-r--r-- | src/c_fl_rgb_image.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/c_fl_rgb_image.cpp b/src/c_fl_rgb_image.cpp index 83a89ac..96b5266 100644 --- a/src/c_fl_rgb_image.cpp +++ b/src/c_fl_rgb_image.cpp @@ -4,16 +4,16 @@ #include "c_fl_rgb_image.h" + + void free_fl_rgb_image(RGB_IMAGE i) { delete reinterpret_cast<Fl_RGB_Image*>(i); } - RGB_IMAGE fl_rgb_image_copy(RGB_IMAGE i, int w, int h) { return reinterpret_cast<Fl_RGB_Image*>(i)->copy(w, h); } - RGB_IMAGE fl_rgb_image_copy2(RGB_IMAGE i) { return reinterpret_cast<Fl_RGB_Image*>(i)->copy(); } @@ -25,7 +25,6 @@ void fl_rgb_image_color_average(RGB_IMAGE i, int c, float b) { reinterpret_cast<Fl_RGB_Image*>(i)->color_average(c, b); } - void fl_rgb_image_desaturate(RGB_IMAGE i) { reinterpret_cast<Fl_RGB_Image*>(i)->desaturate(); } |