forked from len0rd/rockbox
Theme Editor: Implemented status bar enable/disable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27200 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8114979e8e
commit
35150b6dcb
8 changed files with 43 additions and 3 deletions
|
@ -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])
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue