forked from len0rd/rockbox
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
This commit is contained in:
parent
8da13a5d4b
commit
2f68e5be59
6 changed files with 88 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue