summaryrefslogtreecommitdiff
path: root/src/SystemMenuNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SystemMenuNode.cpp')
-rw-r--r--src/SystemMenuNode.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/SystemMenuNode.cpp b/src/SystemMenuNode.cpp
index 23766fa..aac4cf5 100644
--- a/src/SystemMenuNode.cpp
+++ b/src/SystemMenuNode.cpp
@@ -53,11 +53,21 @@ VdrState SystemMenuNode::State()
return _state;
}
+void SystemMenuNode::State(VdrState newState)
+{
+ _state = newState;
+}
+
string SystemMenuNode::CustomTitle()
{
return _customTitle;
}
+void SystemMenuNode::CustomTitle(string newCustomTitle)
+{
+ _customTitle = newCustomTitle;
+}
+
string SystemMenuNode::DisplayText()
{
if (_customTitle.empty())