diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-09 17:39:10 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-09 17:39:10 -0700 |
commit | 24dee6b42b461f8e3504b0f03ea856283d3599d3 (patch) | |
tree | 78454124e7f0d26b7109ded3ed207bdba555f3b5 /src | |
parent | ac468007930e8f9531403fbfb683903cfa263307 (diff) | |
download | mana-24dee6b42b461f8e3504b0f03ea856283d3599d3.tar.gz mana-24dee6b42b461f8e3504b0f03ea856283d3599d3.tar.bz2 mana-24dee6b42b461f8e3504b0f03ea856283d3599d3.tar.xz mana-24dee6b42b461f8e3504b0f03ea856283d3599d3.zip |
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 <irarice@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/image.h | 12 |
1 files changed, 0 insertions, 12 deletions
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 @@ -94,12 +94,6 @@ class Image : public Resource virtual void unload(); /** - * Returns the image. - */ - virtual const Image* getImage() const - { return this; } - - /** * Returns the width of the image. */ virtual int getWidth() const @@ -189,12 +183,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. * * @return <code>NULL</code> if creation failed and a valid |