aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/control.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu/control.hpp')
-rw-r--r--src/menu/control.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/menu/control.hpp b/src/menu/control.hpp
index 2d47eb55..d0b70d4f 100644
--- a/src/menu/control.hpp
+++ b/src/menu/control.hpp
@@ -31,9 +31,16 @@ namespace usdx
{
class Control
{
+ private:
+ Control* parent;
+
public:
- Control();
+ Control(Control *parent);
virtual ~Control();
+
+ void set_parent(Control *parent);
+
+ Control* get_parent(void) const;
};
};