diff options
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 24 |
1 files changed, 13 insertions, 11 deletions
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 <code>true</code> if the image was blitted properly - * <code>false</code> 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 <code>true</code> if the image was blitted properly + * <code>false</code> 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); |