summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 5b57ff8b..662fc83c 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -32,8 +32,6 @@
#endif
#include "resources/image.h"
-extern SDL_Surface *screen;
-
/**
* 9 images defining a rectangle. 4 corners, 4 sides and a middle area. The
* topology is as follows:
@@ -74,6 +72,9 @@ class Graphics : public gcn::SDLGraphics {
*/
~Graphics();
+ void drawImage(Image *image, int x, int y);
+ void drawImagePattern(Image *image, int x, int y, int w, int h);
+
/**
* Draws a rectangle using images. 4 corner images, 4 side images and 1
* image for the inside.