blob: 2481062cc004b8f85306f1595d58e751fe080c41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#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();
}
|