diff options
author | pixel <pixel> | 2002-11-16 00:02:48 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-11-16 00:02:48 +0000 |
commit | 9c52570dae47bb479c5e4a5e8e6dd1a605dd8b58 (patch) | |
tree | 60d8a5d34bf9bf2b49f386af7e8bdbab6e726b8a /includes/Color.h | |
parent | 0bbace830912f0e2354f61fa1d701bff8d616553 (diff) |
Bleeeargh, forgot Color.h...
Diffstat (limited to 'includes/Color.h')
-rw-r--r-- | includes/Color.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 |