X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpanel.h;h=8d83b66334bac182cdb80320df3e2b1e8227333c;hb=a122a209782e5b5400b5a70bd23ce4feadc6b36b;hp=830f5426bd72b0e2b9e5a6802c82d1c0f2865e1c;hpb=b30edd979e6e9c7acfaaf3a90903814a7e62a71e;p=libs%2Fgltk.git diff --git a/source/panel.h b/source/panel.h index 830f542..8d83b66 100644 --- a/source/panel.h +++ b/source/panel.h @@ -35,8 +35,10 @@ 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(); void panel(const std::string &); }; @@ -63,9 +65,9 @@ public: virtual const char *get_class() const { return "panel"; } void set_layout(Layout *); - virtual void autosize(); protected: + virtual void autosize_special(const Part &, Geometry &); virtual void render_special(const Part &, GL::Renderer &) const; virtual void on_geometry_change();