aboutsummaryrefslogtreecommitdiff
path: root/src/render/image.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-05-17 19:10:57 +0800
committerchai <chaifix@163.com>2018-05-17 19:10:57 +0800
commit70cdd89e887641b7423e5d4d05928d14ee014aba (patch)
tree248b87ae35197a9e5941e65ef20eea359e87a5ed /src/render/image.h
parentdf4b054b8e8d00f7817daaa4cbf6961712cd0b75 (diff)
change file tree
Diffstat (limited to 'src/render/image.h')
-rw-r--r--src/render/image.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/render/image.h b/src/render/image.h
deleted file mode 100644
index 063f776..0000000
--- a/src/render/image.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef __JIN_IMAGE_H
-#define __JIN_IMAGE_H
-#include "libs/GLee/GLee.h"
-#include "color.h"
-#include "drawable.h"
-namespace jin
-{
-namespace render
-{
- class Image: public Drawable
- {
- public:
- Image();
- ~Image();
-
- // just like Image()
- void init();
-
- // load from file
- bool loadf(const char* f);
-
- // load from memory
- bool loadb(const char* b, int size);
-
- color getPixel(int x, int y);
-
- private:
-
- color* pixels;
- };
-}
-}
-
-#endif \ No newline at end of file