diff options
Diffstat (limited to 'engines/xeen/xsurface.h')
-rw-r--r-- | engines/xeen/xsurface.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/xeen/xsurface.h b/engines/xeen/xsurface.h index c2d6e78d8d..92f1236349 100644 --- a/engines/xeen/xsurface.h +++ b/engines/xeen/xsurface.h @@ -32,9 +32,7 @@ namespace Xeen { class XSurface: public Graphics::Surface { public: - virtual void transBlitFrom(const XSurface &src, const Common::Point &destPos); - - virtual void blitFrom(const XSurface &src, const Common::Point &destPos); + virtual void addDirtyRect(const Common::Rect &r) {} public: XSurface(); XSurface(int w, int h); @@ -42,9 +40,13 @@ public: void create(uint16 w, uint16 h); - void transBlitFrom(const XSurface &src); + void transBlitTo(XSurface &dest) const; + + void transBlitTo(XSurface &dest, const Common::Point &destPos) const; + + void blitTo(XSurface &dest, const Common::Point &destPos) const; - void blitFrom(const XSurface &src); + void blitTo(XSurface &dest) const; bool empty() const { return getPixels() == nullptr; } }; |