summaryrefslogtreecommitdiff
path: root/src/c_fl_jpeg_image.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-05-15 13:05:05 +1000
committerJed Barber <jjbarber@y7mail.com>2017-05-15 13:05:05 +1000
commit20351ef0d87d7e976dcbbd194bd8376bfde35eb1 (patch)
tree66a85babc089302829f4458241068dbc421fdca9 /src/c_fl_jpeg_image.cpp
parent7e92861796b9ec5aa4cdfc4ebff412dd96aeb137 (diff)
BMP, JPEG, PNM Image types added
Diffstat (limited to 'src/c_fl_jpeg_image.cpp')
-rw-r--r--src/c_fl_jpeg_image.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/c_fl_jpeg_image.cpp b/src/c_fl_jpeg_image.cpp
new file mode 100644
index 0000000..763c55f
--- /dev/null
+++ b/src/c_fl_jpeg_image.cpp
@@ -0,0 +1,16 @@
+
+
+#include <FL/Fl_JPEG_Image.H>
+#include "c_fl_jpeg_image.h"
+
+
+JPEG_IMAGE new_fl_jpeg_image(const char * f) {
+ Fl_JPEG_Image *j = new Fl_JPEG_Image(f);
+ return j;
+}
+
+
+void free_fl_jpeg_image(JPEG_IMAGE j) {
+ delete reinterpret_cast<Fl_JPEG_Image*>(j);
+}
+