diff options
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/src/resources/image.h b/src/resources/image.h index 7fe83a66..9151a869 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -89,7 +89,7 @@ class Image : public Resource * <code>false</code> otherwise. */ virtual bool - draw(SDL_Surface *screen, + draw_deprecated(SDL_Surface *screen, int srcX, int srcY, int dstX, int dstY, int width, int height); @@ -101,13 +101,7 @@ class Image : public Resource * <code>false</code> otherwise. */ virtual bool - draw(SDL_Surface *screen, int x, int y); - - /** - * Does a pattern fill on the given area. - */ - virtual void - drawPattern(SDL_Surface *screen, int x, int y, int w, int h); + draw_deprecated(SDL_Surface *screen, int x, int y); /** * Sets the alpha value of this image. @@ -193,20 +187,11 @@ class SubImage : public Image * Draws this image. */ bool - draw(SDL_Surface *screen, + draw_deprecated(SDL_Surface *screen, int srcX, int srcY, int dstX, int dstY, int width, int height); - /** - * Draws the clipped image onto the screen. - * - * @return <code>true</code> if drawing was succesful - * <code>false</code> otherwise. - */ - bool - draw(SDL_Surface *screen, int x, int y); - private: Image *parent; SDL_Rect rect; |