summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbscreen.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-23 19:41:30 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-23 19:41:30 +0000
commitdeab1bb2f57692d383e6ad6fb87d2d80fa84f5eb (patch)
treef184254bb3c41fe3dc2aa1f274ee80c0264b5f16 /utils/themeeditor/graphics/rbscreen.cpp
parent8f28c0443cb0c4834e80082a5f77927bab2de937 (diff)
downloadrockbox-deab1bb2f57692d383e6ad6fb87d2d80fa84f5eb.tar.gz
rockbox-deab1bb2f57692d383e6ad6fb87d2d80fa84f5eb.zip
Theme Editor: Added rendering support for some more tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27094 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbscreen.cpp')
-rw-r--r--utils/themeeditor/graphics/rbscreen.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbscreen.cpp b/utils/themeeditor/graphics/rbscreen.cpp
index 0a04037dcf..004d2e0990 100644
--- a/utils/themeeditor/graphics/rbscreen.cpp
+++ b/utils/themeeditor/graphics/rbscreen.cpp
@@ -117,6 +117,18 @@ void RBScreen::setBackdrop(QString filename)
backdrop = 0;
}
+void RBScreen::makeCustomUI(QString id)
+{
+ if(namedViewports.value(id, 0) != 0)
+ {
+ QMap<QString, RBViewport*>::iterator i;
+ for(i = namedViewports.begin(); i != namedViewports.end(); i++)
+ (*i)->clearCustomUI();
+ namedViewports.value(id)->makeCustomUI();
+ namedViewports.value(id)->show();
+ }
+}
+
QColor RBScreen::stringToColor(QString str, QColor fallback)
{