diff options
Diffstat (limited to 'src/menu/container.hpp')
-rw-r--r-- | src/menu/container.hpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/menu/container.hpp b/src/menu/container.hpp index 6ee6bde2..a558462e 100644 --- a/src/menu/container.hpp +++ b/src/menu/container.hpp @@ -28,7 +28,6 @@ #define CONTAINER_HPP #include <list> - #include "drawable_control.hpp" namespace usdx @@ -38,15 +37,15 @@ namespace usdx private: std::list<DrawableControl*> controls; + protected: + virtual void draw(void); + public: - Container(Control* parent); + Container(Container* parent); virtual ~Container(); - /** - * Method for redraw all contained objects. - */ - void repaint(void); - + void add(DrawableControl *child); + void remove(DrawableControl *child); }; }; |