]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/panel.h
Style and comment fixes
[libs/gltk.git] / source / panel.h
index 79e8bd455a3b36cbd76f9f113641cb81baa79731..e0eed014855030453f3dd62ce4e2ddf2e506ae57 100644 (file)
@@ -23,7 +23,7 @@ public:
        protected:
                WidgetMap &wdg_map;
                Widget *last_widget;
-       
+
        public:
                Loader(Panel &, WidgetMap &);
        private:
@@ -35,6 +35,7 @@ public:
                void child(const std::string &);
                void constraint(Layout::ConstraintType, const std::string &);
                void expand(bool, bool);
+               void ghost(bool);
                void gravity(int, int);
                void grid(unsigned);
                void layout();
@@ -64,9 +65,10 @@ public:
        virtual const char *get_class() const { return "panel"; }
 
        void set_layout(Layout *);
-       virtual void autosize();
+       Layout *get_layout() { return layout; }
 
 protected:
+       virtual void autosize_special(const Part &, Geometry &) const;
        virtual void render_special(const Part &, GL::Renderer &) const;
 
        virtual void on_geometry_change();