summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/Color.h10
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