summaryrefslogtreecommitdiff
path: root/plugingui/image.h
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.h
parent60109b8a737059058d2b0664c7ea88ec501490f7 (diff)
Refactored Painter.
Diffstat (limited to 'plugingui/image.h')
-rw-r--r--plugingui/image.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/image.h b/plugingui/image.h
index 1a6e40a..791ade4 100644
--- a/plugingui/image.h
+++ b/plugingui/image.h
@@ -39,10 +39,10 @@ public:
Image(const std::string& filename);
~Image();
- size_t width();
- size_t height();
+ size_t width() const;
+ size_t height() const;
- Colour getPixel(size_t x, size_t y);
+ Colour getPixel(size_t x, size_t y) const;
private:
void setError(int err);