summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/models/parsetreenode.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-30 21:28:11 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-30 21:28:11 +0000
commit35150b6dcb18089ba76a660e6b73caf1dad86579 (patch)
treeeabfb61be2eb8e3a2cfe9796fb3090842fd8bd0c /utils/themeeditor/models/parsetreenode.cpp
parent8114979e8e413caa876cda626fe0b6385bfc56ce (diff)
downloadrockbox-35150b6dcb18089ba76a660e6b73caf1dad86579.tar.gz
rockbox-35150b6dcb18089ba76a660e6b73caf1dad86579.tar.bz2
rockbox-35150b6dcb18089ba76a660e6b73caf1dad86579.zip
Theme Editor: Implemented status bar enable/disable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27200 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/models/parsetreenode.cpp')
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index 3b334a6f99..300d5195de 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -611,6 +611,25 @@ bool ParseTreeNode::execTag(const RBRenderInfo& info, RBViewport* viewport)
return false;
+ case 'w':
+ switch(element->tag->name[1])
+ {
+ case 'd':
+ info.screen()->disableStatusBar();
+ return true;
+
+ case 'e':
+ info.screen()->enableStatusBar();
+ return true;
+
+ case 'i':
+ info.screen()->disableStatusBar();
+ viewport->enableStatusBar();
+ return true;
+ }
+
+ return false;
+
case 'x':
switch(element->tag->name[1])
{