protected:
WidgetMap &wdg_map;
Widget *last_widget;
-
+
public:
Loader(Panel &, WidgetMap &);
private:
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();
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();