From 8219cfe988d65dd6089d1cda51304653f89c4425 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Sat, 3 Jul 2010 21:56:29 +0000 Subject: Theme Editor: Status bar no longer drawn by default git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27263 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/graphics/rbscreen.cpp | 5 +---- utils/themeeditor/graphics/rbscreen.h | 6 ------ 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'utils/themeeditor/graphics') diff --git a/utils/themeeditor/graphics/rbscreen.cpp b/utils/themeeditor/graphics/rbscreen.cpp index cb69afd906..054e8fee37 100644 --- a/utils/themeeditor/graphics/rbscreen.cpp +++ b/utils/themeeditor/graphics/rbscreen.cpp @@ -29,8 +29,7 @@ RBScreen::RBScreen(const RBRenderInfo& info, bool remote, QGraphicsItem *parent) :QGraphicsItem(parent), backdrop(0), project(project), - albumArt(0), defaultStatusBar(true), - statusBarTexture(":/render/statusbar.png") + albumArt(0) { if(remote) @@ -118,8 +117,6 @@ 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) diff --git a/utils/themeeditor/graphics/rbscreen.h b/utils/themeeditor/graphics/rbscreen.h index 70df399b34..b472e8eae4 100644 --- a/utils/themeeditor/graphics/rbscreen.h +++ b/utils/themeeditor/graphics/rbscreen.h @@ -84,8 +84,6 @@ public: } } - void disableStatusBar(){ defaultStatusBar = false; } - void enableStatusBar(){ defaultStatusBar = true; } private: int width; @@ -104,10 +102,6 @@ private: QList displayedViewports; RBAlbumArt* albumArt; - - bool defaultStatusBar; - QPixmap statusBarTexture; - }; #endif // RBSCREEN_H -- cgit v1.2.3