]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/image.h
Fix a crash if the linear program contains an empty column
[libs/gltk.git] / source / image.h
index efc814487f88c39f38e2cc209382b5d53db0a50e..5f6b935d20422050df32664b5c00e71984361e61 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2010-2011  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GLTK_IMAGE_H_
 #define MSP_GLTK_IMAGE_H_
 
@@ -28,6 +21,8 @@ public:
 
        virtual const char *get_class() const { return "image"; }
 
+       virtual void autosize();
+
        void set_image(const GL::Texture2D *);
        void set_keep_aspect(bool);