summaryrefslogtreecommitdiff
path: root/src/c_fl_image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_image.h')
-rw-r--r--src/c_fl_image.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/c_fl_image.h b/src/c_fl_image.h
index ce4a8ba..bdd71a3 100644
--- a/src/c_fl_image.h
+++ b/src/c_fl_image.h
@@ -4,18 +4,28 @@
#define FL_IMAGE_GUARD
+
+
typedef void* IMAGE;
+
+
extern "C" IMAGE new_fl_image(int w, int h, int d);
extern "C" void free_fl_image(IMAGE i);
extern "C" IMAGE fl_image_copy(IMAGE i, int w, int h);
extern "C" IMAGE fl_image_copy2(IMAGE i);
+
+
extern "C" void fl_image_color_average(IMAGE i, int c, float b);
extern "C" void fl_image_desaturate(IMAGE i);
+
+
extern "C" void fl_image_inactive(IMAGE i);
+
+
extern "C" int fl_image_w(IMAGE i);
extern "C" int fl_image_h(IMAGE i);
extern "C" int fl_image_d(IMAGE i);