aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/je_image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/graphics/je_image.h')
-rw-r--r--src/libjin/graphics/je_image.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/libjin/graphics/je_image.h b/src/libjin/graphics/je_image.h
index 432b875..f23e8c6 100644
--- a/src/libjin/graphics/je_image.h
+++ b/src/libjin/graphics/je_image.h
@@ -13,9 +13,9 @@ namespace JinEngine
///
/// Just like bitmap but only from image file. The pixels data is readonly.
///
- class Image : public Bitmap
- {
- public:
+ class Image : public Bitmap
+ {
+ public:
///
/// Image constructor.
///
@@ -28,18 +28,18 @@ namespace JinEngine
///
/// Image destructor.
///
- ~Image();
+ ~Image();
- private:
+ private:
// Disable setters inherited from Bitmap.
- void bind(Color* pixels, int w, int h);
- void resetPixels(const Color* pixels, int w, int h);
- void resetPixels(const Color& pixels, int w, int h);
- void setPixel(const Color& pixel, int x, int y);
- void setPixels(Color pixels);
- void setPixels(Color* pixels);
-
- };
+ void bind(Color* pixels, int w, int h);
+ void resetPixels(const Color* pixels, int w, int h);
+ void resetPixels(const Color& pixels, int w, int h);
+ void setPixel(const Color& pixel, int x, int y);
+ void setPixels(Color pixels);
+ void setPixels(Color* pixels);
+
+ };
} // namespace Graphics
} // namespace JinEngine