X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fimage.h;h=77357561ead0a54fc147681e580bd67fa80c989c;hb=b4a3d651f57c46507aaa99a71a14fea15f0e430d;hp=18556108b9ae3c67edf0766234111d4e5e946d42;hpb=8f888fddb056e4af2437a8996b8294112509bc31;p=libs%2Fgltk.git diff --git a/source/image.h b/source/image.h index 1855610..7735756 100644 --- a/source/image.h +++ b/source/image.h @@ -2,6 +2,7 @@ #define MSP_GLTK_IMAGE_H_ #include +#include "mspgltk_api.h" #include "widget.h" namespace Msp { @@ -10,8 +11,15 @@ namespace GLtk { /** A widget for displaying images. */ -class Image: public Widget +class MSPGLTK_API Image: public Widget { +public: + class Loader: public Msp::DataFile::DerivedObjectLoader + { + public: + Loader(Image &); + }; + private: const GL::Texture2D *image; std::string icon_name;