mirror of https://github.com/xzeldon/htop.git
CRT: add METER_VALUE_ERROR and adjust some METER_VALUE_WARN colors
This commit is contained in:
parent
ca9d7cd708
commit
d609c04fe4
10
CRT.c
10
CRT.c
|
@ -114,6 +114,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[METER_VALUE_IOWRITE] = ColorPair(Blue, Black),
|
[METER_VALUE_IOWRITE] = ColorPair(Blue, Black),
|
||||||
[METER_VALUE_NOTICE] = A_BOLD | ColorPair(White, Black),
|
[METER_VALUE_NOTICE] = A_BOLD | ColorPair(White, Black),
|
||||||
[METER_VALUE_OK] = ColorPair(Green, Black),
|
[METER_VALUE_OK] = ColorPair(Green, Black),
|
||||||
|
[METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, Black),
|
||||||
[LED_COLOR] = ColorPair(Green, Black),
|
[LED_COLOR] = ColorPair(Green, Black),
|
||||||
[TASKS_RUNNING] = A_BOLD | ColorPair(Green, Black),
|
[TASKS_RUNNING] = A_BOLD | ColorPair(Green, Black),
|
||||||
[PROCESS] = A_NORMAL,
|
[PROCESS] = A_NORMAL,
|
||||||
|
@ -198,6 +199,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[METER_VALUE_IOWRITE] = A_NORMAL,
|
[METER_VALUE_IOWRITE] = A_NORMAL,
|
||||||
[METER_VALUE_NOTICE] = A_BOLD,
|
[METER_VALUE_NOTICE] = A_BOLD,
|
||||||
[METER_VALUE_OK] = A_NORMAL,
|
[METER_VALUE_OK] = A_NORMAL,
|
||||||
|
[METER_VALUE_WARN] = A_BOLD,
|
||||||
[LED_COLOR] = A_NORMAL,
|
[LED_COLOR] = A_NORMAL,
|
||||||
[TASKS_RUNNING] = A_BOLD,
|
[TASKS_RUNNING] = A_BOLD,
|
||||||
[PROCESS] = A_NORMAL,
|
[PROCESS] = A_NORMAL,
|
||||||
|
@ -282,6 +284,7 @@ static int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[METER_VALUE_IOWRITE] = ColorPair(Yellow, White),
|
[METER_VALUE_IOWRITE] = ColorPair(Yellow, White),
|
||||||
[METER_VALUE_NOTICE] = A_BOLD | ColorPair(Yellow, White),
|
[METER_VALUE_NOTICE] = A_BOLD | ColorPair(Yellow, White),
|
||||||
[METER_VALUE_OK] = ColorPair(Green, White),
|
[METER_VALUE_OK] = ColorPair(Green, White),
|
||||||
|
[METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, White),
|
||||||
[LED_COLOR] = ColorPair(Green, White),
|
[LED_COLOR] = ColorPair(Green, White),
|
||||||
[TASKS_RUNNING] = ColorPair(Green, White),
|
[TASKS_RUNNING] = ColorPair(Green, White),
|
||||||
[PROCESS] = ColorPair(Black, 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_ERROR] = A_BOLD | ColorPair(Red, Black),
|
||||||
[METER_VALUE_IOREAD] = ColorPair(Green, Black),
|
[METER_VALUE_IOREAD] = ColorPair(Green, Black),
|
||||||
[METER_VALUE_IOWRITE] = ColorPair(Yellow, 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_OK] = ColorPair(Green, Black),
|
||||||
|
[METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, Black),
|
||||||
[LED_COLOR] = ColorPair(Green, Black),
|
[LED_COLOR] = ColorPair(Green, Black),
|
||||||
[TASKS_RUNNING] = ColorPair(Green, Black),
|
[TASKS_RUNNING] = ColorPair(Green, Black),
|
||||||
[PROCESS] = ColorPair(Blue, 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_IOWRITE] = ColorPair(Black, Blue),
|
||||||
[METER_VALUE_NOTICE] = A_BOLD | ColorPair(White, Blue),
|
[METER_VALUE_NOTICE] = A_BOLD | ColorPair(White, Blue),
|
||||||
[METER_VALUE_OK] = ColorPair(Green, Blue),
|
[METER_VALUE_OK] = ColorPair(Green, Blue),
|
||||||
|
[METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, Black),
|
||||||
[LED_COLOR] = ColorPair(Green, Blue),
|
[LED_COLOR] = ColorPair(Green, Blue),
|
||||||
[TASKS_RUNNING] = A_BOLD | ColorPair(Green, Blue),
|
[TASKS_RUNNING] = A_BOLD | ColorPair(Green, Blue),
|
||||||
[PROCESS] = ColorPair(White, 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_ERROR] = A_BOLD | ColorPair(Red, Black),
|
||||||
[METER_VALUE_IOREAD] = ColorPair(Green, Black),
|
[METER_VALUE_IOREAD] = ColorPair(Green, Black),
|
||||||
[METER_VALUE_IOWRITE] = ColorPair(Blue, 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_OK] = ColorPair(Green, Black),
|
||||||
|
[METER_VALUE_WARN] = A_BOLD | ColorPair(Yellow, Black),
|
||||||
[LED_COLOR] = ColorPair(Green, Black),
|
[LED_COLOR] = ColorPair(Green, Black),
|
||||||
[TASKS_RUNNING] = A_BOLD | ColorPair(Green, Black),
|
[TASKS_RUNNING] = A_BOLD | ColorPair(Green, Black),
|
||||||
[PROCESS] = ColorPair(Cyan, Black),
|
[PROCESS] = ColorPair(Cyan, Black),
|
||||||
|
|
Loading…
Reference in New Issue