]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/button.h
Implement autosize() method for most widgets
[libs/gltk.git] / source / button.h
index 8d4c3c6c2de27081ecf782bdf127035f0c0b9167..08c135dc53578b4e3ca438cca65bba04f70d8d8e 100644 (file)
@@ -43,6 +43,8 @@ public:
 
        virtual const char *get_class() const { return "button"; }
 
+       virtual void autosize();
+
        void set_text(const std::string &);
        void set_icon(const GL::Texture2D *);