X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpanel.h;h=165cc6ad50f497cfe35f49f45502a6bfc6c639f4;hb=d9bf5e84b71e634b68011e321ee13caa3299adbf;hp=79e8bd455a3b36cbd76f9f113641cb81baa79731;hpb=8eeb6ee5d40c21150839e24996cc3e9ef308374d;p=libs%2Fgltk.git diff --git a/source/panel.h b/source/panel.h index 79e8bd4..165cc6a 100644 --- a/source/panel.h +++ b/source/panel.h @@ -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();