From 9c52570dae47bb479c5e4a5e8e6dd1a605dd8b58 Mon Sep 17 00:00:00 2001 From: pixel Date: Sat, 16 Nov 2002 00:02:48 +0000 Subject: Bleeeargh, forgot Color.h... --- includes/Color.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 includes/Color.h (limited to 'includes') diff --git a/includes/Color.h b/includes/Color.h new file mode 100644 index 0000000..293c55c --- /dev/null +++ b/includes/Color.h @@ -0,0 +1,10 @@ +#ifndef __COLOR_H__ +#define __COLOR_H__ + +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; +}; + +#endif -- cgit v1.2.3