aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ui/ui_tiled_image.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/ui/ui_tiled_image.h')
-rw-r--r--engines/wintermute/ui/ui_tiled_image.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/wintermute/ui/ui_tiled_image.h b/engines/wintermute/ui/ui_tiled_image.h
index c413e7f129..a6cd22d53d 100644
--- a/engines/wintermute/ui/ui_tiled_image.h
+++ b/engines/wintermute/ui/ui_tiled_image.h
@@ -38,14 +38,15 @@ class BaseSubFrame;
class UITiledImage : public BaseObject {
public:
DECLARE_PERSISTENT(UITiledImage, BaseObject)
- void correctSize(int *width, int *height);
+ void correctSize(int32 *width, int32 *height);
bool loadFile(const char *filename);
bool loadBuffer(byte *buffer, bool complete = true);
- virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent);
+ virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent) override;
bool display(int x, int y, int width, int height);
- UITiledImage(BaseGame *inGame = NULL);
+ UITiledImage(BaseGame *inGame = nullptr);
virtual ~UITiledImage();
+private:
BaseSubFrame *_image;
Rect32 _upLeft;
Rect32 _upMiddle;