X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpanel.h;h=ebe765ddcf5f541c8d661231b1957536999978a8;hb=ae62c05fe97d341c4f219656cdce7aadf321991b;hp=ee2859c1e12423ab0fd6dc009cae09e6868f80f6;hpb=72db2a8d41cc0eb8404572d1a720d59fab0551cd;p=libs%2Fgltk.git diff --git a/source/panel.h b/source/panel.h index ee2859c..ebe765d 100644 --- a/source/panel.h +++ b/source/panel.h @@ -23,7 +23,7 @@ public: protected: WidgetMap &wdg_map; Widget *last_widget; - + public: Loader(Panel &, WidgetMap &); private: @@ -65,11 +65,16 @@ 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; +public: + virtual bool navigate(Navigation); + +protected: virtual void on_geometry_change(); virtual void on_child_added(Widget &); virtual void on_child_removed(Widget &);