diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-18 21:10:01 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-18 21:10:01 +0000 |
commit | d8827b5ff10c66a065a210d8aaf1d88214ee1070 (patch) | |
tree | 26a23ff031105ee98cbba967a4554ebf8ac423a6 /utils/themeeditor/graphics/rbscreen.h | |
parent | 62622277dc2a11117605e5e7ff3d2a5f0423d8da (diff) | |
download | rockbox-d8827b5ff10c66a065a210d8aaf1d88214ee1070.tar.gz rockbox-d8827b5ff10c66a065a210d8aaf1d88214ee1070.zip |
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
Diffstat (limited to 'utils/themeeditor/graphics/rbscreen.h')
-rw-r--r-- | utils/themeeditor/graphics/rbscreen.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbscreen.h b/utils/themeeditor/graphics/rbscreen.h index f244089b2d..78bbcfd8b2 100644 --- a/utils/themeeditor/graphics/rbscreen.h +++ b/utils/themeeditor/graphics/rbscreen.h | |||
@@ -38,6 +38,9 @@ public: | |||
38 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, | 38 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, |
39 | QWidget *widget); | 39 | QWidget *widget); |
40 | 40 | ||
41 | int getWidth() const{ return width; } | ||
42 | int getHeight() const{ return height; } | ||
43 | |||
41 | static QString safeSetting(ProjectModel* project, QString key, | 44 | static QString safeSetting(ProjectModel* project, QString key, |
42 | QString fallback) | 45 | QString fallback) |
43 | { | 46 | { |
@@ -49,6 +52,7 @@ public: | |||
49 | 52 | ||
50 | static QColor stringToColor(QString str, QColor fallback); | 53 | static QColor stringToColor(QString str, QColor fallback); |
51 | 54 | ||
55 | |||
52 | private: | 56 | private: |
53 | int width; | 57 | int width; |
54 | int height; | 58 | int height; |