diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-25 05:14:13 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-25 05:14:13 +0000 |
commit | 273b9d60502eb5b6c13cc773403fd51d9c7adf75 (patch) | |
tree | dd99f1e4afc17829210643744d1817fba632423c /utils/themeeditor/graphics/rbscreen.h | |
parent | 691d049177d646861a52e96146ad880d9dc18bbe (diff) | |
download | rockbox-273b9d60502eb5b6c13cc773403fd51d9c7adf75.tar.gz rockbox-273b9d60502eb5b6c13cc773403fd51d9c7adf75.zip |
Theme Editor: Fixed some compiler warnings and a segfault. Got some basic text rendering working (only with plaintext elements, no font support yet) as well as Viewport background color support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27126 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 f35aef680b..8b5f2f4a16 100644 --- a/utils/themeeditor/graphics/rbscreen.h +++ b/utils/themeeditor/graphics/rbscreen.h | |||
@@ -60,10 +60,14 @@ public: | |||
60 | RBFont* getFont(int id); | 60 | RBFont* getFont(int id); |
61 | 61 | ||
62 | void setBackdrop(QString filename); | 62 | void setBackdrop(QString filename); |
63 | bool hasBackdrop(){ return backdrop != 0; } | ||
63 | void makeCustomUI(QString id); | 64 | void makeCustomUI(QString id); |
64 | 65 | ||
65 | static QColor stringToColor(QString str, QColor fallback); | 66 | static QColor stringToColor(QString str, QColor fallback); |
66 | 67 | ||
68 | QColor foreground(){ return fgColor; } | ||
69 | QColor background(){ return bgColor; } | ||
70 | |||
67 | 71 | ||
68 | private: | 72 | private: |
69 | int width; | 73 | int width; |