summaryrefslogtreecommitdiff
path: root/utils/themeeditor/graphics/rbscreen.h
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-03 22:57:42 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-03 22:57:42 +0000
commit2f68e5be5964a24d68b7cd7816228ce340da3845 (patch)
treef3099d16b09d1cd6ac1f7d431978e84413ef4759 /utils/themeeditor/graphics/rbscreen.h
parent8da13a5d4bd69884242cdb4170d451239aa23d03 (diff)
downloadrockbox-2f68e5be5964a24d68b7cd7816228ce340da3845.zip
rockbox-2f68e5be5964a24d68b7cd7816228ce340da3845.tar.gz
rockbox-2f68e5be5964a24d68b7cd7816228ce340da3845.tar.bz2
rockbox-2f68e5be5964a24d68b7cd7816228ce340da3845.tar.xz
Theme Editor: SBS will now render underneath WPS, if both are present in project
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27265 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbscreen.h')
-rw-r--r--utils/themeeditor/graphics/rbscreen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbscreen.h b/utils/themeeditor/graphics/rbscreen.h
index b472e8e..5bb8ab1 100644
--- a/utils/themeeditor/graphics/rbscreen.h
+++ b/utils/themeeditor/graphics/rbscreen.h
@@ -67,6 +67,8 @@ public:
void setBackdrop(QString filename);
bool hasBackdrop(){ return backdrop != 0; }
void makeCustomUI(QString id);
+ void setCustomUI(RBViewport* viewport){ customUI = viewport; }
+ RBViewport* getCustomUI(){ return customUI; }
static QColor stringToColor(QString str, QColor fallback);
@@ -84,10 +86,13 @@ public:
}
}
+ void breakSBS();
private:
int width;
int height;
+ int fullWidth;
+ int fullHeight;
QColor bgColor;
QColor fgColor;
QPixmap* backdrop;
@@ -102,6 +107,7 @@ private:
QList<QString> displayedViewports;
RBAlbumArt* albumArt;
+ RBViewport* customUI;
};
#endif // RBSCREEN_H