summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-03 18:59:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-03 19:03:30 +0300
commit98db78be9552b039090ce5dfc53803df2dd54b41 (patch)
treeefda1a43723e8e11e075dcfef2776fe38c7cb3da /src/resources/image.h
parentd7cbb663f5f8e19ccfa7162ef7d1d4e3b4020335 (diff)
downloadmanaverse-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.h8
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)