summaryrefslogtreecommitdiff
path: root/body/c_fl_rgb_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'body/c_fl_rgb_image.cpp')
-rw-r--r--body/c_fl_rgb_image.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/body/c_fl_rgb_image.cpp b/body/c_fl_rgb_image.cpp
index 65afbf9..fc39594 100644
--- a/body/c_fl_rgb_image.cpp
+++ b/body/c_fl_rgb_image.cpp
@@ -66,6 +66,13 @@ void fl_rgb_image_uncache(RGBIMAGE i) {
+const void * fl_rgb_image_data(RGBIMAGE i) {
+ return static_cast<const void*>(static_cast<Fl_RGB_Image*>(i)->array);
+}
+
+
+
+
void fl_rgb_image_draw2(RGBIMAGE i, int x, int y) {
static_cast<Fl_RGB_Image*>(i)->draw(x, y);
}