diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-28 21:43:17 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-28 21:43:17 +1300 |
commit | dee76d5884c6f079ea3a2387d07289534a51a0c1 (patch) | |
tree | 528b5d06ce81d48560b5c9e6836855d392e95ab0 /body/c_fl_rgb_image.cpp | |
parent | f5f624fd78421dbeb15fdda489caed6f210c730f (diff) |
Diffstat (limited to 'body/c_fl_rgb_image.cpp')
-rw-r--r-- | body/c_fl_rgb_image.cpp | 7 |
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); } |