diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-08-05 08:49:34 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-08-05 08:49:34 +0000 |
commit | f657e491036e971725bb963e03775b43c4ecbda4 (patch) | |
tree | fb7d33aeadc576b73d75bb06c6326708240ce38e /utils/themeeditor/graphics/rbprogressbar.cpp | |
parent | 265ee156f23fd166d29af89f8b9a778e46354c38 (diff) | |
download | rockbox-f657e491036e971725bb963e03775b43c4ecbda4.tar.gz rockbox-f657e491036e971725bb963e03775b43c4ecbda4.zip |
Theme Editor: Fixed bug that crashed conditionals nested in sublines, began work on making progress bars implement RBMovable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27714 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbprogressbar.cpp')
-rw-r--r-- | utils/themeeditor/graphics/rbprogressbar.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/utils/themeeditor/graphics/rbprogressbar.cpp b/utils/themeeditor/graphics/rbprogressbar.cpp index 206a835252..76cfe5601b 100644 --- a/utils/themeeditor/graphics/rbprogressbar.cpp +++ b/utils/themeeditor/graphics/rbprogressbar.cpp | |||
@@ -27,7 +27,7 @@ | |||
27 | RBProgressBar::RBProgressBar(RBViewport *parent, const RBRenderInfo &info, | 27 | RBProgressBar::RBProgressBar(RBViewport *parent, const RBRenderInfo &info, |
28 | int paramCount, skin_tag_parameter *params, | 28 | int paramCount, skin_tag_parameter *params, |
29 | bool pv) | 29 | bool pv) |
30 | :QGraphicsItem(parent) | 30 | :RBMovable(parent) |
31 | { | 31 | { |
32 | /* First we set everything to defaults */ | 32 | /* First we set everything to defaults */ |
33 | bitmap = 0; | 33 | bitmap = 0; |
@@ -117,4 +117,11 @@ void RBProgressBar::paint(QPainter *painter, | |||
117 | { | 117 | { |
118 | painter->fillRect(size, color); | 118 | painter->fillRect(size, color); |
119 | } | 119 | } |
120 | |||
121 | RBMovable::paint(painter, option, widget); | ||
122 | } | ||
123 | |||
124 | void RBProgressBar::saveGeometry() | ||
125 | { | ||
126 | |||
120 | } | 127 | } |