diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-03-22 17:07:36 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:52 +0100 |
commit | e53dba73eca8238775df52e4177d83eb0a473de2 (patch) | |
tree | 52bf6e5800bc7e777769b5e57692cbb5719fb6e8 /src/menu/container.hpp | |
parent | 1c39e66f571fb9767257740ee74889ce0eb78993 (diff) | |
download | usdx-e53dba73eca8238775df52e4177d83eb0a473de2.tar.gz usdx-e53dba73eca8238775df52e4177d83eb0a473de2.tar.xz usdx-e53dba73eca8238775df52e4177d83eb0a473de2.zip |
menu: keep frame in container
before the current frame was stored in application, now every
container could keep a frame and paint it before all other content
Diffstat (limited to '')
-rw-r--r-- | src/menu/container.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/menu/container.hpp b/src/menu/container.hpp index ce12ce39..dd5a8a32 100644 --- a/src/menu/container.hpp +++ b/src/menu/container.hpp @@ -34,11 +34,14 @@ namespace usdx { + class Frame; + class Container : public DrawableControl { private: static log4cpp::Category& log; + Frame* frame; std::list<DrawableControl*> controls; protected: @@ -50,6 +53,9 @@ namespace usdx virtual void add(DrawableControl*); virtual void remove(DrawableControl*); + + virtual void setFrame(Frame*); + virtual void removeFrame(void); }; }; |