diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-08-04 09:16:52 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-08-04 09:16:52 +0000 |
commit | 49865b23f601e636c9a80b21826fc607f1964eb5 (patch) | |
tree | eb7959fd8aa5c572842e8d295440348cb17fc3cf /utils/themeeditor/graphics/rbmovable.h | |
parent | 2db08d41536b875f35b055f8e0bb3845b47a7ba3 (diff) | |
download | rockbox-49865b23f601e636c9a80b21826fc607f1964eb5.tar.gz rockbox-49865b23f601e636c9a80b21826fc607f1964eb5.zip |
Theme Editor: Began implementing code generation for movable viewports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27691 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbmovable.h')
-rw-r--r-- | utils/themeeditor/graphics/rbmovable.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbmovable.h b/utils/themeeditor/graphics/rbmovable.h index e8ef69b5bd..5b6330228d 100644 --- a/utils/themeeditor/graphics/rbmovable.h +++ b/utils/themeeditor/graphics/rbmovable.h | |||
@@ -41,6 +41,8 @@ public: | |||
41 | 41 | ||
42 | virtual void paint(QPainter *painter, | 42 | virtual void paint(QPainter *painter, |
43 | const QStyleOptionGraphicsItem *option, QWidget *widget); | 43 | const QStyleOptionGraphicsItem *option, QWidget *widget); |
44 | virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); | ||
45 | virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); | ||
44 | 46 | ||
45 | protected: | 47 | protected: |
46 | virtual QVariant itemChange(GraphicsItemChange change, | 48 | virtual QVariant itemChange(GraphicsItemChange change, |
@@ -48,6 +50,8 @@ protected: | |||
48 | /* Responsible for updating the parse tree */ | 50 | /* Responsible for updating the parse tree */ |
49 | virtual void saveGeometry() = 0; | 51 | virtual void saveGeometry() = 0; |
50 | 52 | ||
53 | bool geomChanged; | ||
54 | |||
51 | }; | 55 | }; |
52 | 56 | ||
53 | #endif // RBMOVABLE_H | 57 | #endif // RBMOVABLE_H |