]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/entry.h
Refactor widget autosizing
[libs/gltk.git] / source / entry.h
index edea4c3a2a1b4ad8b04e32520fc84ace645dc04a..1594c68d8e7bb883eebdb04362a6b4db552fa26f 100644 (file)
@@ -41,8 +41,10 @@ public:
 
        virtual const char *get_class() const { return "entry"; }
 
-       virtual void autosize();
+private:
+       virtual void autosize_special(const Part &, Geometry &);
 
+public:
        void set_text(const std::string &);
        const std::string &get_text() const { return text.get(); }