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.zip rockbox-d8827b5ff10c66a065a210d8aaf1d88214ee1070.tar.gz rockbox-d8827b5ff10c66a065a210d8aaf1d88214ee1070.tar.bz2 rockbox-d8827b5ff10c66a065a210d8aaf1d88214ee1070.tar.xz | |
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 f244089..78bbcfd 100644 --- a/utils/themeeditor/graphics/rbscreen.h +++ b/utils/themeeditor/graphics/rbscreen.h @@ -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; |