From 795b2c6356af2ef7e26c39faa309d566c4bf62f6 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 18 Feb 2010 11:38:42 +0000 Subject: Added jpeg loading from memory. Added jpeg Fl_Widget->image() support for Fluid - but linking to fltk_images is required if this feature is used! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_JPEG_Image.H | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'FL') diff --git a/FL/Fl_JPEG_Image.H b/FL/Fl_JPEG_Image.H index 3a34bcf75..40bf1b7f8 100644 --- a/FL/Fl_JPEG_Image.H +++ b/FL/Fl_JPEG_Image.H @@ -40,9 +40,10 @@ */ class FL_EXPORT Fl_JPEG_Image : public Fl_RGB_Image { - public: +public: - Fl_JPEG_Image(const char* filename); + Fl_JPEG_Image(const char *filename); + Fl_JPEG_Image(const char *name, const unsigned char *data); }; #endif -- cgit v1.2.3