diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-23 20:54:03 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-12-26 13:32:29 +0100 |
commit | d609c04fe4fa38c35465a152d7dccdf8f64e7a0d (patch) | |
tree | d7639412a3f7d598984e0d27fa126f2a521f249d | |
parent | ca9d7cd70827279dbeab32accd4aaadece317c1b (diff) |
CRT: add METER_VALUE_ERROR and adjust some METER_VALUE_WARN colors
-rw-r--r-- | CRT.c | 10 | ||||
-rw-r--r-- | CRT.h | 1 |
2 files changed, 9 insertions, 2 deletions
@@ -114,6 +114,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [METER_VALUE_IOWRITE] = ColorPair(Blue, Black), [METER_VALUE_NOTICE] = A_BOLD | ColorPair(White, Black), [METER_VALUE_OK] = ColorPair(Green, Black), + [METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, Black), [LED_COLOR] = ColorPair(Green, Black), [TASKS_RUNNING] = A_BOLD | ColorPair(Green, Black), [PROCESS] = A_NORMAL, @@ -198,6 +199,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [METER_VALUE_IOWRITE] = A_NORMAL, [METER_VALUE_NOTICE] = A_BOLD, [METER_VALUE_OK] = A_NORMAL, + [METER_VALUE_WARN] = A_BOLD, [LED_COLOR] = A_NORMAL, [TASKS_RUNNING] = A_BOLD, [PROCESS] = A_NORMAL, @@ -282,6 +284,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [METER_VALUE_IOWRITE] = ColorPair(Yellow, White), [METER_VALUE_NOTICE] = A_BOLD | ColorPair(Yellow, White), [METER_VALUE_OK] = ColorPair(Green, White), + [METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, White), [LED_COLOR] = ColorPair(Green, White), [TASKS_RUNNING] = ColorPair(Green, White), [PROCESS] = ColorPair(Black, White), @@ -364,8 +367,9 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [METER_VALUE_ERROR] = A_BOLD | ColorPair(Red, Black), [METER_VALUE_IOREAD] = ColorPair(Green, Black), [METER_VALUE_IOWRITE] = ColorPair(Yellow, Black), - [METER_VALUE_NOTICE] = A_BOLD | ColorPair(Yellow, Black), + [METER_VALUE_NOTICE] = A_BOLD | ColorPair(White, Black), [METER_VALUE_OK] = ColorPair(Green, Black), + [METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, Black), [LED_COLOR] = ColorPair(Green, Black), [TASKS_RUNNING] = ColorPair(Green, Black), [PROCESS] = ColorPair(Blue, Black), @@ -450,6 +454,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [METER_VALUE_IOWRITE] = ColorPair(Black, Blue), [METER_VALUE_NOTICE] = A_BOLD | ColorPair(White, Blue), [METER_VALUE_OK] = ColorPair(Green, Blue), + [METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, Black), [LED_COLOR] = ColorPair(Green, Blue), [TASKS_RUNNING] = A_BOLD | ColorPair(Green, Blue), [PROCESS] = ColorPair(White, Blue), @@ -532,8 +537,9 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = { [METER_VALUE_ERROR] = A_BOLD | ColorPair(Red, Black), [METER_VALUE_IOREAD] = ColorPair(Green, Black), [METER_VALUE_IOWRITE] = ColorPair(Blue, Black), - [METER_VALUE_NOTICE] = A_BOLD | ColorPair(Yellow, Black), + [METER_VALUE_NOTICE] = A_BOLD | ColorPair(White, Black), [METER_VALUE_OK] = ColorPair(Green, Black), + [METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, Black), [LED_COLOR] = ColorPair(Green, Black), [TASKS_RUNNING] = A_BOLD | ColorPair(Green, Black), [PROCESS] = ColorPair(Cyan, Black), @@ -57,6 +57,7 @@ typedef enum ColorElements_ { METER_VALUE_IOWRITE, METER_VALUE_NOTICE, METER_VALUE_OK, + METER_VALUE_WARN, LED_COLOR, UPTIME, BATTERY, |