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.h | |
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.h')
-rw-r--r-- | utils/themeeditor/graphics/rbprogressbar.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/themeeditor/graphics/rbprogressbar.h b/utils/themeeditor/graphics/rbprogressbar.h index e72479853e..817285653a 100644 --- a/utils/themeeditor/graphics/rbprogressbar.h +++ b/utils/themeeditor/graphics/rbprogressbar.h | |||
@@ -25,12 +25,13 @@ | |||
25 | #include <QGraphicsItem> | 25 | #include <QGraphicsItem> |
26 | #include <QPixmap> | 26 | #include <QPixmap> |
27 | 27 | ||
28 | #include "rbmovable.h" | ||
28 | #include "rbrenderinfo.h" | 29 | #include "rbrenderinfo.h" |
29 | #include "rbviewport.h" | 30 | #include "rbviewport.h" |
30 | #include "devicestate.h" | 31 | #include "devicestate.h" |
31 | #include "skin_parser.h" | 32 | #include "skin_parser.h" |
32 | 33 | ||
33 | class RBProgressBar : public QGraphicsItem | 34 | class RBProgressBar : public RBMovable |
34 | { | 35 | { |
35 | public: | 36 | public: |
36 | RBProgressBar(RBViewport* parent, const RBRenderInfo& info, | 37 | RBProgressBar(RBViewport* parent, const RBRenderInfo& info, |
@@ -41,6 +42,9 @@ public: | |||
41 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, | 42 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, |
42 | QWidget *widget); | 43 | QWidget *widget); |
43 | 44 | ||
45 | protected: | ||
46 | void saveGeometry(); | ||
47 | |||
44 | private: | 48 | private: |
45 | QPixmap* bitmap; | 49 | QPixmap* bitmap; |
46 | QColor color; | 50 | QColor color; |