aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/control.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/menu/control.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/menu/control.cpp b/src/menu/control.cpp
index c1c91fa3..8d5e4438 100644
--- a/src/menu/control.cpp
+++ b/src/menu/control.cpp
@@ -32,7 +32,7 @@ namespace usdx
: owner(owner)
{
if (owner) {
- owner->add(this);
+ owner->add_slave(this);
}
}
@@ -56,13 +56,13 @@ namespace usdx
{
if (this->owner != owner) {
if (this->owner) {
- this->owner->remove(this);
+ this->owner->remove_slave(this);
}
this->owner = owner;
if (this->owner) {
- this->owner->add(this);
+ this->owner->add_slave(this);
}
}
}
@@ -72,12 +72,12 @@ namespace usdx
return owner;
}
- void Control::add(Control *new_slave)
+ void Control::add_slave(Control *new_slave)
{
slaves.push_back(new_slave);
}
- void Control::remove(Control *slave)
+ void Control::remove_slave(Control *slave)
{
slaves.remove(slave);
}