summaryrefslogtreecommitdiff
path: root/src/color.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-09-17 19:01:13 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-09-17 19:01:13 +0200
commit5cf947f84543e175a76dbf07d58f9a6ef4b8cd89 (patch)
treeabbd4b521f0ed315219ec9e40390a1c28505c98c /src/color.hh
parent45bffd8b8a4871eff1d9545496ce6ee648cb7429 (diff)
Add a ColorRegistry class responsible of color parsing and supporting aliases
colalias command permits to define names for color pairs
Diffstat (limited to 'src/color.hh')
-rw-r--r--src/color.hh23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/color.hh b/src/color.hh
new file mode 100644
index 00000000..64cf6350
--- /dev/null
+++ b/src/color.hh
@@ -0,0 +1,23 @@
+#ifndef color_hh_INCLUDED
+#define color_hh_INCLUDED
+
+namespace Kakoune
+{
+
+enum class Color
+{
+ Default,
+ Black,
+ Red,
+ Green,
+ Yellow,
+ Blue,
+ Magenta,
+ Cyan,
+ White
+};
+
+}
+
+#endif // color_hh_INCLUDED
+