diff options
Diffstat (limited to 'pacman-c++/pixmapitem.h')
| -rw-r--r-- | pacman-c++/pixmapitem.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pacman-c++/pixmapitem.h b/pacman-c++/pixmapitem.h index cff976f..f57c22a 100644 --- a/pacman-c++/pixmapitem.h +++ b/pacman-c++/pixmapitem.h | |||
| @@ -13,7 +13,9 @@ public: | |||
| 13 | PixmapItem(const QString &fileName, QGraphicsScene *scene); | 13 | PixmapItem(const QString &fileName, QGraphicsScene *scene); |
| 14 | PixmapItem(const QPixmap &pix, QGraphicsItem *parent = 0); | 14 | PixmapItem(const QPixmap &pix, QGraphicsItem *parent = 0); |
| 15 | PixmapItem(const QPixmap &pix, QGraphicsScene *scene); | 15 | PixmapItem(const QPixmap &pix, QGraphicsScene *scene); |
| 16 | virtual ~PixmapItem() {}; | 16 | virtual ~PixmapItem() |
| 17 | {}; | ||
| 18 | |||
| 17 | void setPixmap(const QPixmap &pix); | 19 | void setPixmap(const QPixmap &pix); |
| 18 | void setSprite(int x, int y, int width, int height); | 20 | void setSprite(int x, int y, int width, int height); |
| 19 | QSizeF size() const; | 21 | QSizeF size() const; |
