mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Theme Editor: Added Show Viewports option to device configuration panel, implemented simple rendering of info tags from device configuration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27136 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c32728c91c
commit
5300c7014d
8 changed files with 39 additions and 14 deletions
|
@ -524,6 +524,13 @@ void ParseTreeNode::render(const RBRenderInfo &info, RBViewport* viewport)
|
|||
}
|
||||
else if(element->type == TAG)
|
||||
{
|
||||
|
||||
if(info.device()->data(QString(element->tag->name)).isValid())
|
||||
viewport->write(info.device()->
|
||||
data(QString(element->tag->name)).toString());
|
||||
|
||||
/* These are for special cases */
|
||||
|
||||
QString filename;
|
||||
QString id;
|
||||
int x, y, tiles, tile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue