aboutsummaryrefslogtreecommitdiff
path: root/engines/access/asurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/asurface.h')
-rw-r--r--engines/access/asurface.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/access/asurface.h b/engines/access/asurface.h
index 273578c830..0ce08bbb5c 100644
--- a/engines/access/asurface.h
+++ b/engines/access/asurface.h
@@ -38,9 +38,10 @@ class SpriteFrame;
class ASurface : public Graphics::Surface {
private:
Graphics::Surface _savedBlock;
- Common::Rect _savedBounds;
void flipHorizontal(ASurface &dest);
+protected:
+ Common::Rect _savedBounds;
public:
static int _leftSkip, _rightSkip;
static int _topSkip, _bottomSkip;
@@ -92,6 +93,8 @@ public:
virtual void copyBlock(ASurface *src, const Common::Rect &bounds);
+ virtual void restoreBlock();
+
void copyTo(ASurface *dest, const Common::Point &destPos);
void copyTo(ASurface *dest, const Common::Rect &bounds);
@@ -100,8 +103,6 @@ public:
void saveBlock(const Common::Rect &bounds);
- void restoreBlock();
-
void drawRect();
void moveBufferLeft();