summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-15 12:37:55 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-15 12:37:55 +0300
commit054ed0b25bffc50588ff8c11a0aef4ee74c8136d (patch)
treeec84f607d68cf22d911e7211d06134914ef21adf /src/resources/image.h
parenta970bdd2d4d7e695f82f854c1efc81881dfebb30 (diff)
downloadplus-054ed0b25bffc50588ff8c11a0aef4ee74c8136d.tar.gz
plus-054ed0b25bffc50588ff8c11a0aef4ee74c8136d.tar.bz2
plus-054ed0b25bffc50588ff8c11a0aef4ee74c8136d.tar.xz
plus-054ed0b25bffc50588ff8c11a0aef4ee74c8136d.zip
improve image class.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index d7316d527..05350bb66 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -103,7 +103,7 @@ class Image : public Resource
/**
* Sets the alpha value of this image.
*/
- virtual void setAlpha(float alpha);
+ virtual void setAlpha(const float alpha);
/**
* Returns the alpha value of this image.