From b253c8a2201b9ae631f4c1f037443b67d4fdb5fa Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 4 Apr 2003 15:06:03 +0000 Subject: Color() added --- include/Color.h | 1 + 1 file changed, 1 insertion(+) 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) { } -- cgit v1.2.3