diff options
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; |