diff options
Diffstat (limited to 'src/libjin/graphics/je_image.h')
-rw-r--r-- | src/libjin/graphics/je_image.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/libjin/graphics/je_image.h b/src/libjin/graphics/je_image.h deleted file mode 100644 index f23e8c6..0000000 --- a/src/libjin/graphics/je_image.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef __JE_IMAGE_H__ -#define __JE_IMAGE_H__ - -#include "je_bitmap.h" - -namespace JinEngine -{ - namespace Graphics - { - - /// - /// A readonly bitmap. - /// - /// Just like bitmap but only from image file. The pixels data is readonly. - /// - class Image : public Bitmap - { - public: - /// - /// Image constructor. - /// - Image(); - - Image(const char* path); - - Image(const void* imgData, size_t size); - - /// - /// Image destructor. - /// - ~Image(); - - 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); - - }; - - } // namespace Graphics -} // namespace JinEngine - -#endif
\ No newline at end of file |