summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2003-04-04 15:06:03 +0000
committerpixel <pixel>2003-04-04 15:06:03 +0000
commitb253c8a2201b9ae631f4c1f037443b67d4fdb5fa (patch)
tree2076dc922c4c6632e141a724ad606a73dcf62e3f
parent33571fe8e9fc2fafd60b72dc7445b4b6cfd969ea (diff)
Color() added
-rw-r--r--include/Color.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Color.h b/include/Color.h
index e9040b5..5b2ec06 100644
--- a/include/Color.h
+++ b/include/Color.h
@@ -2,6 +2,7 @@
#define __COLOR_H__
struct Color {
+ Color() : R(255), G(255), B(255), A(255) { }
Color(unsigned char aR, unsigned char aG, unsigned char aB, unsigned char aA = 255) :
R(aR), G(aG), B(aB), A(aA) { }
Color(const Color & c) : R(c.R), G(c.G), B(c.B), A(c.A) { }