summaryrefslogtreecommitdiff
path: root/plugingui/image.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-11-07 10:39:46 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-11-07 10:39:46 +0100
commita65ca7af57feaf7a4ea73f7e071a72eb9b3a1e24 (patch)
tree6cf9fa3b8b57513b8eae030bdc6e1a18495d7e75 /plugingui/image.cc
parent60109b8a737059058d2b0664c7ea88ec501490f7 (diff)
Refactored Painter.
Diffstat (limited to 'plugingui/image.cc')
-rw-r--r--plugingui/image.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/image.cc b/plugingui/image.cc
index f2dfb9c..6c16a69 100644
--- a/plugingui/image.cc
+++ b/plugingui/image.cc
@@ -92,17 +92,17 @@ void Image::load(const char* data, size_t size)
}
}
-size_t Image::width()
+size_t Image::width() const
{
return _width;
}
-size_t Image::height()
+size_t Image::height() const
{
return _height;
}
-Colour Image::getPixel(size_t x, size_t y)
+Colour Image::getPixel(size_t x, size_t y) const
{
if(x > _width || y > _height)
{