diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-07-28 10:45:20 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-07-28 10:45:20 +1000 |
commit | 1e761c7b4491377fe9c91a37c438856178cc4f8e (patch) | |
tree | 2db00fc8f8179703dcf7ae6b3e3d22f6ae777b61 /src/c_fl_bitmap.cpp | |
parent | fb37523537cdb69a31dede401a604981ce8b7b9d (diff) |
Finished up FLTK.Images and partially complete derivatives
Diffstat (limited to 'src/c_fl_bitmap.cpp')
-rw-r--r-- | src/c_fl_bitmap.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/c_fl_bitmap.cpp b/src/c_fl_bitmap.cpp index fe5fd99..ce1c221 100644 --- a/src/c_fl_bitmap.cpp +++ b/src/c_fl_bitmap.cpp @@ -16,3 +16,10 @@ BITMAP fl_bitmap_copy2(BITMAP b) { return reinterpret_cast<Fl_Bitmap*>(b)->copy(); } + + + +void fl_bitmap_draw(BITMAP b, int x, int y, int w, int h, int cx, int cy) { + reinterpret_cast<Fl_Bitmap*>(b)->draw(x, y, w, h, cx, cy); +} + |