summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbscreen.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/graphics/rbscreen.cpp
parent8114979e8e413caa876cda626fe0b6385bfc56ce (diff)
downloadrockbox-35150b6dcb18089ba76a660e6b73caf1dad86579.tar.gz
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/graphics/rbscreen.cpp')
-rw-r--r--utils/themeeditor/graphics/rbscreen.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/themeeditor/graphics/rbscreen.cpp b/utils/themeeditor/graphics/rbscreen.cpp
index 924a37406e..cb69afd906 100644
--- a/utils/themeeditor/graphics/rbscreen.cpp
+++ b/utils/themeeditor/graphics/rbscreen.cpp
@@ -29,7 +29,8 @@
RBScreen::RBScreen(const RBRenderInfo& info, bool remote,
QGraphicsItem *parent)
:QGraphicsItem(parent), backdrop(0), project(project),
- albumArt(0)
+ albumArt(0), defaultStatusBar(true),
+ statusBarTexture(":/render/statusbar.png")
{
if(remote)
@@ -116,6 +117,9 @@ void RBScreen::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
{
painter->fillRect(0, 0, width, height, bgColor);
}
+
+ if(defaultStatusBar)
+ painter->fillRect(QRectF(0, 0, width, 8), statusBarTexture);
}
void RBScreen::loadViewport(QString name, RBViewport *view)