- void button_press(int, int, unsigned);
- void button_release(int, int, unsigned);
- void pointer_motion(int, int);
- void key_press(unsigned, unsigned, wchar_t);
- void key_release(unsigned, unsigned);
- void focus_out();
-private:
- const char *get_class() const { return "panel"; }
- void render_part(const Part &) const;
- void set_pointer_focus(Widget *);
- void set_input_focus(Widget *);
- Widget *get_child_at(int, int);
+ void set_layout(Layout *);
+ 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();
+ virtual void on_child_added(Widget &);
+ virtual void on_child_removed(Widget &);