summaryrefslogtreecommitdiff
path: root/includes/Image.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Image.h')
-rw-r--r--includes/Image.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/Image.h b/includes/Image.h
index fc94a12..09b4cb5 100644
--- a/includes/Image.h
+++ b/includes/Image.h
@@ -19,12 +19,12 @@ class Image : public Buffer {
public:
Image(unsigned int, unsigned int);
virtual ~Image();
- Color GetPixel(unsigned int, unsigned int);
+ Color GetPixel(unsigned int, unsigned int) const;
void SetPixel(unsigned int, unsigned int, Color);
bool Prepare(unsigned int = FORMAT_TGA_BASIC);
void Fill(Color = Color(0, 0, 0));
- virtual String GetName();
- virtual bool CanWrite();
+ virtual String GetName() const;
+ virtual bool CanWrite() const;
private:
typedef unsigned char Byte;