From a504cffaf55d090fea44b4d16e538f77974f842a Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 22 May 2017 12:32:04 +1000 Subject: Added XBM Images --- src/c_fl_xbm_image.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/c_fl_xbm_image.cpp (limited to 'src/c_fl_xbm_image.cpp') diff --git a/src/c_fl_xbm_image.cpp b/src/c_fl_xbm_image.cpp new file mode 100644 index 0000000..4f3ee47 --- /dev/null +++ b/src/c_fl_xbm_image.cpp @@ -0,0 +1,16 @@ + + +#include +#include "c_fl_xbm_image.h" + + +XBM_IMAGE new_fl_xbm_image(const char * f) { + Fl_XBM_Image *b = new Fl_XBM_Image(f); + return b; +} + + +void free_fl_xbm_image(XBM_IMAGE b) { + delete reinterpret_cast(b); +} + -- cgit