X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fimage.h;h=efc814487f88c39f38e2cc209382b5d53db0a50e;hb=2f70d404230954f0693a62a021b5d2ad1faed8fa;hp=5d113ccf33c83cd900d77f400bdfad38a000babb;hpb=850fae783476edfdaf996a008c70c941afb39d62;p=libs%2Fgltk.git diff --git a/source/image.h b/source/image.h index 5d113cc..efc8144 100644 --- a/source/image.h +++ b/source/image.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of libmspgltk -Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2010-2011 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -24,12 +24,14 @@ private: bool keep_aspect; public: - Image(const Resources &, const GL::Texture2D * = 0); + Image(const GL::Texture2D * = 0); + + virtual const char *get_class() const { return "image"; } void set_image(const GL::Texture2D *); void set_keep_aspect(bool); + private: - virtual const char *get_class() const { return "image"; } virtual void render_special(const Part &) const; };