summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 6a17aab4..c70e7978 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -99,7 +99,7 @@ class Graphics : public gcn::SDLGraphics
* @return <code>true</code> if the image was blitted properly
* <code>false</code> otherwise.
*/
- bool drawImage(Image *image, int x, int y);
+ bool drawImage(const Image *image, int x, int y);
/**
* Overrides with our own drawing method.
@@ -135,13 +135,13 @@ class Graphics : public gcn::SDLGraphics
* @return <code>true</code> if the image was blitted properly
* <code>false</code> otherwise.
*/
- virtual bool drawImage(Image *image,
+ virtual bool drawImage(const Image *image,
int srcX, int srcY,
int dstX, int dstY,
int width, int height,
bool useColor = false);
- virtual void drawImagePattern(Image *image,
+ virtual void drawImagePattern(const Image *image,
int x, int y,
int w, int h);