#include #include "c_fl_bitmap.h" void free_fl_bitmap(BITMAP b) { delete reinterpret_cast(b); } BITMAP fl_bitmap_copy(BITMAP b, int w, int h) { return reinterpret_cast(b)->Fl_Bitmap::copy(w, h); } BITMAP fl_bitmap_copy2(BITMAP b) { return reinterpret_cast(b)->copy(); } void fl_bitmap_draw2(BITMAP b, int x, int y) { reinterpret_cast(b)->draw(x, y); } void fl_bitmap_draw(BITMAP b, int x, int y, int w, int h, int cx, int cy) { reinterpret_cast(b)->Fl_Bitmap::draw(x, y, w, h, cx, cy); }