blob: fe5fd994aa72094ad189ba16fad2e3b0c8451ad4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <FL/Fl_Bitmap.H>
#include "c_fl_bitmap.h"
void free_fl_bitmap(BITMAP b) {
delete reinterpret_cast<Fl_Bitmap*>(b);
}
BITMAP fl_bitmap_copy(BITMAP b, int w, int h) {
return reinterpret_cast<Fl_Bitmap*>(b)->copy(w, h);
}
BITMAP fl_bitmap_copy2(BITMAP b) {
return reinterpret_cast<Fl_Bitmap*>(b)->copy();
}
|