]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/image.h
Rearrange members
[libs/gltk.git] / source / image.h
index 8256a8d9c5c1749bbee6da77793fbc91e7b09a81..efc814487f88c39f38e2cc209382b5d53db0a50e 100644 (file)
@@ -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
 */
 
@@ -26,10 +26,12 @@ private:
 public:
        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;
 };