aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Color.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Color.h')
-rw-r--r--src/crepe/api/Color.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/crepe/api/Color.h b/src/crepe/api/Color.h
new file mode 100644
index 0000000..dbfd0ed
--- /dev/null
+++ b/src/crepe/api/Color.h
@@ -0,0 +1,25 @@
+#pragma once
+
+#include <cstdint>
+
+namespace crepe {
+
+struct Color {
+ uint8_t r = 0x00;
+ uint8_t g = 0x00;
+ uint8_t b = 0x00;
+ uint8_t a = 0xff;
+
+ static const Color WHITE;
+ static const Color RED;
+ static const Color GREEN;
+ static const Color BLUE;
+ static const Color CYAN;
+ static const Color MAGENTA;
+ static const Color YELLOW;
+ static const Color BLACK;
+ static const Color GREY;
+ static const Color GOLD;
+};
+
+} // namespace crepe