diff options
Diffstat (limited to 'utils/themeeditor/graphics/rbimage.h')
-rw-r--r-- | utils/themeeditor/graphics/rbimage.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/utils/themeeditor/graphics/rbimage.h b/utils/themeeditor/graphics/rbimage.h index abfe8eb052..f9562b82e9 100644 --- a/utils/themeeditor/graphics/rbimage.h +++ b/utils/themeeditor/graphics/rbimage.h | |||
@@ -25,7 +25,9 @@ | |||
25 | #include <QPixmap> | 25 | #include <QPixmap> |
26 | #include <QGraphicsItem> | 26 | #include <QGraphicsItem> |
27 | 27 | ||
28 | class RBImage: public QGraphicsItem | 28 | #include "rbmovable.h" |
29 | |||
30 | class RBImage: public RBMovable | ||
29 | { | 31 | { |
30 | public: | 32 | public: |
31 | RBImage(QString file, int tiles, int x, int y, QGraphicsItem* parent = 0); | 33 | RBImage(QString file, int tiles, int x, int y, QGraphicsItem* parent = 0); |
@@ -44,6 +46,9 @@ public: | |||
44 | } | 46 | } |
45 | 47 | ||
46 | 48 | ||
49 | protected: | ||
50 | void saveGeometry(); | ||
51 | |||
47 | private: | 52 | private: |
48 | QPixmap* image; | 53 | QPixmap* image; |
49 | int tiles; | 54 | int tiles; |