summaryrefslogtreecommitdiff
path: root/src/c_fl_xpm_image.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2018-05-18 16:21:25 +1000
committerJed Barber <jjbarber@y7mail.com>2018-05-18 16:21:25 +1000
commit2cbec01126c34e70fc8e11d77553ef5bfd94cec7 (patch)
treee0f1d1a9e8115838e21e9bda2176695f07f04ad2 /src/c_fl_xpm_image.cpp
parentee210f26aecaaa19e991773a7be58028223d1cb8 (diff)
Added Choices, Pixmaps, GIFs, XPMs
Diffstat (limited to 'src/c_fl_xpm_image.cpp')
-rw-r--r--src/c_fl_xpm_image.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/c_fl_xpm_image.cpp b/src/c_fl_xpm_image.cpp
new file mode 100644
index 0000000..dae1c12
--- /dev/null
+++ b/src/c_fl_xpm_image.cpp
@@ -0,0 +1,17 @@
+
+
+#include <FL/Fl_XPM_Image.H>
+#include "c_fl_xpm_image.h"
+
+
+
+
+XPM_IMAGE new_fl_xpm_image(const char * f) {
+ Fl_XPM_Image *j = new Fl_XPM_Image(f);
+ return j;
+}
+
+void free_fl_xpm_image(XPM_IMAGE j) {
+ delete reinterpret_cast<Fl_XPM_Image*>(j);
+}
+