summaryrefslogtreecommitdiff
path: root/plugingui/image.cc
diff options
context:
space:
mode:
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)
{