summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-09-08 22:48:48 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-09-08 22:48:48 +0000
commitb3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114 (patch)
tree1e06f3964ddb677888b63b4e7265188925492674 /src/graphics.h
parent0ba846818fcfd01142c0c615adc487e342e5f243 (diff)
downloadmana-client-b3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114.tar.gz
mana-client-b3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114.tar.bz2
mana-client-b3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114.tar.xz
mana-client-b3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114.zip
Removed inclusion of malloc.h header as it doens't seem necessary and was
problematic on FreeBSD.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/graphics.h b/src/graphics.h
index f62662f7..6bd32ec2 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -72,9 +72,16 @@ class Graphics : public gcn::SDLGraphics {
* @return <code>true</code> if the image was blitted properly
* <code>false</code> otherwise.
*/
- virtual bool drawImage(Image *image, int srcX, int srcY, int dstX, int dstY, int width, int height);
-
- virtual void drawImagePattern(Image *image, int x, int y, int w, int h);
+ virtual bool
+ drawImage(Image *image,
+ int srcX, int srcY,
+ int dstX, int dstY,
+ int width, int height);
+
+ virtual 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