summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
authornoa2023-12-29 16:37:57 +0000
committernoa2023-12-29 16:37:57 +0000
commit1abcd667c8280f17c827e15f91d3a71a4e16961e (patch)
treecc7b44639e5b81eba3a22aa7ee31cd21889b6ad8 /ui.c
parent810e05d6150b338cc0d0fcc9d338f4fec75568e4 (diff)
Remove ifdefs for monochromacy HEAD master
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/ui.c b/ui.c
index 04a5631..0f4c982 100644
--- a/ui.c
+++ b/ui.c
@@ -164,8 +164,6 @@ void uiDraw(void) {
 }
 
 
-#define NOA_NO_COLOR
-#ifdef NOA_NO_COLOR
 static const short Colors[ColorCap] = {
 	[Default]    = -1,
 	[White]      = -1,
@@ -192,34 +190,6 @@ static const short Colors[ColorCap] = {
 	217, 223, 229, 193, 157, 158, 159, 153, 147, 183, 219, 212,
 	16, 233, 235, 237, 239, 241, 244, 247, 250, 254, 231,
 };
-#else
-static const short Colors[ColorCap] = {
-	[Default]    = -1,
-	[White]      = 8 + COLOR_WHITE,
-	[Black]      = 0 + COLOR_BLACK,
-	[Blue]       = 0 + COLOR_BLUE,
-	[Green]      = 0 + COLOR_GREEN,
-	[Red]        = 8 + COLOR_RED,
-	[Brown]      = 0 + COLOR_RED,
-	[Magenta]    = 0 + COLOR_MAGENTA,
-	[Orange]     = 0 + COLOR_YELLOW,
-	[Yellow]     = 8 + COLOR_YELLOW,
-	[LightGreen] = 8 + COLOR_GREEN,
-	[Cyan]       = 0 + COLOR_CYAN,
-	[LightCyan]  = 8 + COLOR_CYAN,
-	[LightBlue]  = 8 + COLOR_BLUE,
-	[Pink]       = 8 + COLOR_MAGENTA,
-	[Gray]       = 8 + COLOR_BLACK,
-	[LightGray]  = 0 + COLOR_WHITE,
-	52, 94, 100, 58, 22, 29, 23, 24, 17, 54, 53, 89,
-	88, 130, 142, 64, 28, 35, 30, 25, 18, 91, 90, 125,
-	124, 166, 184, 106, 34, 49, 37, 33, 19, 129, 127, 161,
-	196, 208, 226, 154, 46, 86, 51, 75, 21, 171, 201, 198,
-	203, 215, 227, 191, 83, 122, 87, 111, 63, 177, 207, 205,
-	217, 223, 229, 193, 157, 158, 159, 153, 147, 183, 219, 212,
-	16, 233, 235, 237, 239, 241, 244, 247, 250, 254, 231,
-};
-#endif
 
 uint uiAttr(struct Style style) {
 	attr_t attr = A_NORMAL;