From 7e0a97d2521b9ce57003176e82a0b5564aa003c2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jul 2012 23:26:59 +0300 Subject: Fix more code style and additional warnings. --- src/graphics.h | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'src/graphics.h') diff --git a/src/graphics.h b/src/graphics.h index ffa9a3c73..06461efe4 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -150,17 +150,6 @@ class Graphics : public gcn::SDLGraphics int desiredWidth, int desiredHeight, bool useColor = false); - /** - * Blits an image onto the screen. - * - * @return true if the image was blitted properly - * false otherwise. - */ - virtual bool drawImage(const Image *image, - int srcX, int srcY, - int dstX, int dstY, - int width, int height, - bool useColor); virtual void drawImagePattern(const Image *image, int x, int y, @@ -306,6 +295,19 @@ class Graphics : public gcn::SDLGraphics int mHeight; protected: + /** + * Blits an image onto the screen. + * + * @return true if the image was blitted properly + * false otherwise. + */ + virtual bool drawImage2(const Image *image, + int srcX, int srcY, + int dstX, int dstY, + int width, int height, + bool useColor); + + void setMainFlags(int w, int h, int bpp, bool fs, bool hwaccel, bool resize, bool noFrame); -- cgit v1.2.3-60-g2f50