aboutsummaryrefslogtreecommitdiff
path: root/src/color.h
diff options
context:
space:
mode:
authorAdrian Kummerlaender2016-05-14 23:06:20 +0200
committerAdrian Kummerlaender2016-05-14 23:06:20 +0200
commit64880ba1019f8c81470d697143b7bf48143b2fc8 (patch)
treef758030b5d151a47b50df233d39215ea5abaec63 /src/color.h
parent8e1d7c4e484ef43dddc5074055727694ceb0e37b (diff)
downloadvoronoi-64880ba1019f8c81470d697143b7bf48143b2fc8.tar
voronoi-64880ba1019f8c81470d697143b7bf48143b2fc8.tar.gz
voronoi-64880ba1019f8c81470d697143b7bf48143b2fc8.tar.bz2
voronoi-64880ba1019f8c81470d697143b7bf48143b2fc8.tar.lz
voronoi-64880ba1019f8c81470d697143b7bf48143b2fc8.tar.xz
voronoi-64880ba1019f8c81470d697143b7bf48143b2fc8.tar.zst
voronoi-64880ba1019f8c81470d697143b7bf48143b2fc8.zip
Separate into multiple compilation units, add color functions
* fix cartesian coordinate determination
Diffstat (limited to 'src/color.h')
-rw-r--r--src/color.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/color.h b/src/color.h
new file mode 100644
index 0000000..2c35465
--- /dev/null
+++ b/src/color.h
@@ -0,0 +1,24 @@
+#pragma once
+
+#include <tuple>
+#include <cstdint>
+
+namespace imgen {
+
+using color = std::tuple<std::uint8_t, std::uint8_t, std::uint8_t>;
+
+color red();
+color lime();
+color blue();
+color yellow();
+color cyan();
+color magenta();
+color silver();
+color maroon();
+color olive();
+color green();
+color purple();
+color teal();
+color navy();
+
+}