summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-04 18:13:13 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-04 18:13:13 +0300
commit367c92d1ac584eb7ad5812f717aea27456f44e5f (patch)
treedb2cf89deaf3a92815d2a5d2d3f6ce2f16995dc7 /src/resources/image.h
parent9c52e6525e338da2170a86e57cefc0fe1c6701e3 (diff)
downloadplus-367c92d1ac584eb7ad5812f717aea27456f44e5f.tar.gz
plus-367c92d1ac584eb7ad5812f717aea27456f44e5f.tar.bz2
plus-367c92d1ac584eb7ad5812f717aea27456f44e5f.tar.xz
plus-367c92d1ac584eb7ad5812f717aea27456f44e5f.zip
Remove getter getAlpha form image class.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index aa38f7a22..55f28a055 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -121,12 +121,6 @@ class Image notfinal : public Resource
virtual void setAlpha(const float alpha);
/**
- * Returns the alpha value of this image.
- */
- float getAlpha() const A_WARN_UNUSED
- { return mAlpha; }
-
- /**
* Creates a new image with the desired clipping rectangle.
*
* @return <code>NULL</code> if creation failed and a valid
@@ -197,13 +191,9 @@ class Image notfinal : public Resource
SDL_Rect mBounds;
- protected:
- // -----------------------
- // Generic protected members
- // -----------------------
-
float mAlpha;
+ protected:
// -----------------------
// SDL protected members
// -----------------------