summaryrefslogtreecommitdiff
path: root/body/c_fl_bitmap.cpp
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-28 21:43:17 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-28 21:43:17 +1300
commitdee76d5884c6f079ea3a2387d07289534a51a0c1 (patch)
tree528b5d06ce81d48560b5c9e6836855d392e95ab0 /body/c_fl_bitmap.cpp
parentf5f624fd78421dbeb15fdda489caed6f210c730f (diff)
Revised Image subhierarchy, fixed data subprograms, added constructor for PixmapHEADmaster
Diffstat (limited to 'body/c_fl_bitmap.cpp')
-rw-r--r--body/c_fl_bitmap.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/body/c_fl_bitmap.cpp b/body/c_fl_bitmap.cpp
index 01077b2..a54b579 100644
--- a/body/c_fl_bitmap.cpp
+++ b/body/c_fl_bitmap.cpp
@@ -39,6 +39,13 @@ void fl_bitmap_uncache(BITMAP b) {
+const void * fl_bitmap_data(BITMAP b) {
+ return static_cast<const void*>(static_cast<Fl_Bitmap*>(b)->array);
+}
+
+
+
+
void fl_bitmap_draw2(BITMAP b, int x, int y) {
static_cast<Fl_Bitmap*>(b)->draw(x, y);
}