From 24dee6b42b461f8e3504b0f03ea856283d3599d3 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 9 Feb 2009 17:39:10 -0700 Subject: Removed a getImage() function I added. Considered renaming it to getBaseImage() instead, but after looking at it a bit more, I can't particularly see anything that this can be used for yet. Was originally added when I was toying around with an idea for how to get image transparency to work under SDL, but which ended coming up busted. Signed-off-by: Ira Rice --- src/resources/image.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src') diff --git a/src/resources/image.h b/src/resources/image.h index 9af10fda..fe3081ac 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -93,12 +93,6 @@ class Image : public Resource */ virtual void unload(); - /** - * Returns the image. - */ - virtual const Image* getImage() const - { return this; } - /** * Returns the width of the image. */ @@ -188,12 +182,6 @@ class SubImage : public Image */ ~SubImage(); - /** - * Returns the image. - */ - virtual const Image* getImage() const - { return mParent; } - /** * Creates a new image with the desired clipping rectangle. * -- cgit v1.2.3-70-g09d2