diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-07-03 22:57:42 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-07-03 22:57:42 +0000 |
commit | 2f68e5be5964a24d68b7cd7816228ce340da3845 (patch) | |
tree | f3099d16b09d1cd6ac1f7d431978e84413ef4759 /utils/themeeditor/graphics/rbscreen.h | |
parent | 8da13a5d4bd69884242cdb4170d451239aa23d03 (diff) | |
download | rockbox-2f68e5be5964a24d68b7cd7816228ce340da3845.tar.gz rockbox-2f68e5be5964a24d68b7cd7816228ce340da3845.zip |
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
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: | |||
67 | void setBackdrop(QString filename); | 67 | void setBackdrop(QString filename); |
68 | bool hasBackdrop(){ return backdrop != 0; } | 68 | bool hasBackdrop(){ return backdrop != 0; } |
69 | void makeCustomUI(QString id); | 69 | void makeCustomUI(QString id); |
70 | void setCustomUI(RBViewport* viewport){ customUI = viewport; } | ||
71 | RBViewport* getCustomUI(){ return customUI; } | ||
70 | 72 | ||
71 | static QColor stringToColor(QString str, QColor fallback); | 73 | static QColor stringToColor(QString str, QColor fallback); |
72 | 74 | ||
@@ -84,10 +86,13 @@ public: | |||
84 | } | 86 | } |
85 | } | 87 | } |
86 | 88 | ||
89 | void breakSBS(); | ||
87 | 90 | ||
88 | private: | 91 | private: |
89 | int width; | 92 | int width; |
90 | int height; | 93 | int height; |
94 | int fullWidth; | ||
95 | int fullHeight; | ||
91 | QColor bgColor; | 96 | QColor bgColor; |
92 | QColor fgColor; | 97 | QColor fgColor; |
93 | QPixmap* backdrop; | 98 | QPixmap* backdrop; |
@@ -102,6 +107,7 @@ private: | |||
102 | QList<QString> displayedViewports; | 107 | QList<QString> displayedViewports; |
103 | 108 | ||
104 | RBAlbumArt* albumArt; | 109 | RBAlbumArt* albumArt; |
110 | RBViewport* customUI; | ||
105 | }; | 111 | }; |
106 | 112 | ||
107 | #endif // RBSCREEN_H | 113 | #endif // RBSCREEN_H |