summaryrefslogtreecommitdiff
path: root/includes/Image.h
diff options
context:
space:
mode:
authorpixel <pixel>2002-11-15 23:58:57 +0000
committerpixel <pixel>2002-11-15 23:58:57 +0000
commitd99f7dd959709b7a9e8cba23b88a216a6970209c (patch)
tree9e74abdec626b44ceb845239f8ed93f239946445 /includes/Image.h
parent028c7dcfa9f1920d5fa2e573790bef40c4076275 (diff)
Bleh
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);