diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-03-22 16:41:45 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:51 +0100 |
commit | a50059f7cf56c9e3227afe5f1b34cbd4ff50527e (patch) | |
tree | 7d0b1a0d650bcaed878925c2c43a0f17de8af8fe | |
parent | d2d3d5dd81089c95cbe75351bdd66faa646ce21f (diff) | |
download | usdx-a50059f7cf56c9e3227afe5f1b34cbd4ff50527e.tar.gz usdx-a50059f7cf56c9e3227afe5f1b34cbd4ff50527e.tar.xz usdx-a50059f7cf56c9e3227afe5f1b34cbd4ff50527e.zip |
menu: removed parameter names from header files
-rw-r--r-- | src/menu/container.hpp | 6 | ||||
-rw-r--r-- | src/menu/control.hpp | 9 | ||||
-rw-r--r-- | src/menu/drawable_control.hpp | 2 | ||||
-rw-r--r-- | src/menu/frame.hpp | 4 |
4 files changed, 10 insertions, 11 deletions
diff --git a/src/menu/container.hpp b/src/menu/container.hpp index a558462e..c8f0351b 100644 --- a/src/menu/container.hpp +++ b/src/menu/container.hpp @@ -41,11 +41,11 @@ namespace usdx virtual void draw(void); public: - Container(Container* parent); + Container(Container*); virtual ~Container(); - void add(DrawableControl *child); - void remove(DrawableControl *child); + virtual void add(DrawableControl*); + virtual void remove(DrawableControl*); }; }; diff --git a/src/menu/control.hpp b/src/menu/control.hpp index c48098b3..d178d4f0 100644 --- a/src/menu/control.hpp +++ b/src/menu/control.hpp @@ -39,15 +39,14 @@ namespace usdx protected: std::list<Control*> slaves; - void add_slave(Control *new_slave); - void remove_slave(Control *slave); + void add_slave(Control*); + void remove_slave(Control*); public: - Control(Control *owner); + Control(Control*); virtual ~Control(); - void set_owner(Control *owner); - + void set_owner(Control*); Control* get_owner(void) const; }; }; diff --git a/src/menu/drawable_control.hpp b/src/menu/drawable_control.hpp index fcab05da..e85e9c6b 100644 --- a/src/menu/drawable_control.hpp +++ b/src/menu/drawable_control.hpp @@ -42,7 +42,7 @@ namespace usdx Container* parent; public: - DrawableControl(Container* parent); + DrawableControl(Container*); virtual ~DrawableControl(); }; }; diff --git a/src/menu/frame.hpp b/src/menu/frame.hpp index a2893757..7a43d59b 100644 --- a/src/menu/frame.hpp +++ b/src/menu/frame.hpp @@ -43,8 +43,8 @@ namespace usdx virtual void draw(void); public: - Frame(Container* parent); - Frame(Container* parent, FrameBackground* background); + Frame(Container*); + Frame(Container*, FrameBackground*); virtual ~Frame(); |