forked from len0rd/rockbox
Theme Editor: Working on rendering viewports, display will now show %V(...) viewports as red rectangles over backdrop or background color
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26940 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
62622277dc
commit
d8827b5ff1
11 changed files with 317 additions and 6 deletions
|
@ -38,6 +38,9 @@ public:
|
|||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
|
||||
QWidget *widget);
|
||||
|
||||
int getWidth() const{ return width; }
|
||||
int getHeight() const{ return height; }
|
||||
|
||||
static QString safeSetting(ProjectModel* project, QString key,
|
||||
QString fallback)
|
||||
{
|
||||
|
@ -49,6 +52,7 @@ public:
|
|||
|
||||
static QColor stringToColor(QString str, QColor fallback);
|
||||
|
||||
|
||||
private:
|
||||
int width;
|
||||
int height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue