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_bitmap.cpp | |
parent | f5f624fd78421dbeb15fdda489caed6f210c730f (diff) |
Diffstat (limited to 'body/c_fl_bitmap.cpp')
-rw-r--r-- | body/c_fl_bitmap.cpp | 7 |
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); } |