diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-03 18:59:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-03 19:03:30 +0300 |
commit | 98db78be9552b039090ce5dfc53803df2dd54b41 (patch) | |
tree | efda1a43723e8e11e075dcfef2776fe38c7cb3da /src/resources/image.h | |
parent | d7cbb663f5f8e19ccfa7162ef7d1d4e3b4020335 (diff) | |
download | manaverse-98db78be9552b039090ce5dfc53803df2dd54b41.tar.gz manaverse-98db78be9552b039090ce5dfc53803df2dd54b41.tar.bz2 manaverse-98db78be9552b039090ce5dfc53803df2dd54b41.tar.xz manaverse-98db78be9552b039090ce5dfc53803df2dd54b41.zip |
Add some missing getters.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/image.h b/src/resources/image.h index d22ed4be2..68ab09e58 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -103,7 +103,7 @@ class Image : public Resource /** * Tells is the image is loaded */ - bool isLoaded() + bool isLoaded() const { return mLoaded; } /** @@ -217,16 +217,16 @@ class Image : public Resource static int mTextureType; #endif - bool isHasAlphaChannel() + bool isHasAlphaChannel() const { return mHasAlphaChannel; } - bool isAlphaVisible() + bool isAlphaVisible() const { return mIsAlphaVisible; } void setAlphaVisible(bool b) { mIsAlphaVisible = b; } - bool isAlphaCalculated() + bool isAlphaCalculated() const { return mIsAlphaCalculated; } void setAlphaCalculated(bool b) |