diff options
Diffstat (limited to 'engines/access/asurface.h')
-rw-r--r-- | engines/access/asurface.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/access/asurface.h b/engines/access/asurface.h index ffa22d58e5..36fd2518c3 100644 --- a/engines/access/asurface.h +++ b/engines/access/asurface.h @@ -65,8 +65,6 @@ public: void clearBuffer(); - void copyBuffer(Graphics::Surface *src) { copyFrom(*src); } - bool clip(Common::Rect &r); void plotImage(SpriteResource *sprite, int frameNum, const Common::Point &pt); @@ -97,11 +95,15 @@ public: virtual void drawRect(); - void copyTo(ASurface *dest, const Common::Point &destPos); + virtual void copyFrom(ASurface *src, const Common::Point &destPos); + + virtual void copyFrom(ASurface *src, const Common::Rect &bounds); + + virtual void copyFrom(ASurface &src); - void copyTo(ASurface *dest, const Common::Rect &bounds); + void copyTo(ASurface *dest) { dest->copyFrom(*this); } - void copyTo(ASurface *dest); + virtual void copyBuffer(Graphics::Surface *src); void saveBlock(const Common::Rect &bounds); |