diff options
author | Marisa-Chan | 2013-11-07 16:43:45 +0700 |
---|---|---|
committer | Marisa-Chan | 2013-11-07 16:43:45 +0700 |
commit | 5da10e99b25bfd866b1ef73cadee71bf9b825c52 (patch) | |
tree | 558e6333e48fe3b812205a827aab70d776ab56d8 /engines/zvision/render_manager.h | |
parent | 6a135c677920184db0d055230c596fc4bd0a5960 (diff) | |
download | scummvm-rg350-5da10e99b25bfd866b1ef73cadee71bf9b825c52.tar.gz scummvm-rg350-5da10e99b25bfd866b1ef73cadee71bf9b825c52.tar.bz2 scummvm-rg350-5da10e99b25bfd866b1ef73cadee71bf9b825c52.zip |
ZVISION: Make source surface const type for read-only access.
Diffstat (limited to 'engines/zvision/render_manager.h')
-rw-r--r-- | engines/zvision/render_manager.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/zvision/render_manager.h b/engines/zvision/render_manager.h index 37bfcfa20d..c302844117 100644 --- a/engines/zvision/render_manager.h +++ b/engines/zvision/render_manager.h @@ -225,7 +225,7 @@ public: * @param srcRect Rect of source surface * @param dstRect Rect for destenation surface */ - void copyRectToSurface(Graphics::Surface &src, Graphics::Surface &dst, const Common::Rect &srcRect, const Common::Rect &dstRect); + void copyRectToSurface(const Graphics::Surface &src, Graphics::Surface &dst, const Common::Rect &srcRect, const Common::Rect &dstRect); /** * Copies a rectangla of source surface and copy to destination rect. @@ -236,7 +236,7 @@ public: * @param dstRect Rect for destenation surface * @param colorkey Transparent color */ - void copyRectToSurface(Graphics::Surface &src, Graphics::Surface &dst, const Common::Rect &srcRect, const Common::Rect &dstRect, uint32 colorkey); + void copyRectToSurface(const Graphics::Surface &src, Graphics::Surface &dst, const Common::Rect &srcRect, const Common::Rect &dstRect, uint32 colorkey); /** * Copies a rectangla of source surface and copy to destination rect. @@ -246,7 +246,7 @@ public: * @param srcRect Rect of source surface * @param dstPt Point for destenation surface */ - void copyRectToSurface(Graphics::Surface &src, Graphics::Surface &dst, const Common::Rect &srcRect, const Common::Point &dstPt); + void copyRectToSurface(const Graphics::Surface &src, Graphics::Surface &dst, const Common::Rect &srcRect, const Common::Point &dstPt); /** * Copies a rectangla of source surface and copy to destination rect. @@ -257,7 +257,7 @@ public: * @param dstPt Point for destenation surface * @param colorkey Transparent color */ - void copyRectToSurface(Graphics::Surface &src, Graphics::Surface &dst, const Common::Rect &srcRect, const Common::Point &dstPt, uint32 colorkey); + void copyRectToSurface(const Graphics::Surface &src, Graphics::Surface &dst, const Common::Rect &srcRect, const Common::Point &dstPt, uint32 colorkey); /** * Blits the image or a portion of the image to the background. @@ -275,7 +275,7 @@ public: * @param destinationX X position where the image should be put. Coords are in working window space, not screen space! * @param destinationY Y position where the image should be put. Coords are in working window space, not screen space! */ - void renderImageToBackground(Graphics::Surface &surface, int16 destinationX, int16 destinationY); + void renderImageToBackground(const Graphics::Surface &surface, int16 destinationX, int16 destinationY); /** * Blits the image or a portion of the image to the background. @@ -295,7 +295,7 @@ public: * @param destinationY Y position where the image should be put. Coords are in working window space, not screen space! * @param colorkey Transparent color */ - void renderImageToBackground(Graphics::Surface &surface, int16 destX, int16 destY, uint32 colorkey); + void renderImageToBackground(const Graphics::Surface &surface, int16 destX, int16 destY, uint32 colorkey); /** * Sets the current background image to be used by the RenderManager and immediately |