summaryrefslogtreecommitdiff
path: root/includes/Image.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Image.h')
-rw-r--r--includes/Image.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/includes/Image.h b/includes/Image.h
index 9bef556..87a8ddd 100644
--- a/includes/Image.h
+++ b/includes/Image.h
@@ -4,17 +4,12 @@
#include <Buffer.h>
#include <generic.h>
+#include <Color.h>
enum {
FORMAT_TGA_BASIC
};
-struct Color {
- Color(unsigned char aR, unsigned char aG, unsigned char aB, unsigned char aA = 255) :
- R(aR), G(aG), B(aB), A(aA) { }
- unsigned char R, G, B, A;
-};
-
class Image : public Buffer {
public:
Image(unsigned int, unsigned int);