From 2f68e5be5964a24d68b7cd7816228ce340da3845 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Sat, 3 Jul 2010 22:57:42 +0000 Subject: 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 --- utils/themeeditor/graphics/rbscreen.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'utils/themeeditor/graphics/rbscreen.h') diff --git a/utils/themeeditor/graphics/rbscreen.h b/utils/themeeditor/graphics/rbscreen.h index b472e8eae4..5bb8ab1602 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 displayedViewports; RBAlbumArt* albumArt; + RBViewport* customUI; }; #endif // RBSCREEN_H -- cgit v1.2.3