mirror of https://github.com/xzeldon/htop.git
paint PROCESS_LOW_PRIORITY in green
... and thus make it use a different color than PROCESS_HIGH_PRIORITY.
This commit is contained in:
parent
b1aea7f748
commit
a588c6d179
10
CRT.c
10
CRT.c
|
@ -180,7 +180,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[PROCESS_R_STATE] = ColorPair(Green,Black),
|
[PROCESS_R_STATE] = ColorPair(Green,Black),
|
||||||
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Black),
|
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Black),
|
||||||
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Black),
|
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Black),
|
||||||
[PROCESS_LOW_PRIORITY] = ColorPair(Red,Black),
|
[PROCESS_LOW_PRIORITY] = ColorPair(Green,Black),
|
||||||
[PROCESS_THREAD] = ColorPair(Green,Black),
|
[PROCESS_THREAD] = ColorPair(Green,Black),
|
||||||
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Green,Black),
|
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Green,Black),
|
||||||
[BAR_BORDER] = A_BOLD,
|
[BAR_BORDER] = A_BOLD,
|
||||||
|
@ -298,7 +298,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[PROCESS_R_STATE] = ColorPair(Green,White),
|
[PROCESS_R_STATE] = ColorPair(Green,White),
|
||||||
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,White),
|
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,White),
|
||||||
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,White),
|
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,White),
|
||||||
[PROCESS_LOW_PRIORITY] = ColorPair(Red,White),
|
[PROCESS_LOW_PRIORITY] = ColorPair(Green,White),
|
||||||
[PROCESS_THREAD] = ColorPair(Blue,White),
|
[PROCESS_THREAD] = ColorPair(Blue,White),
|
||||||
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Blue,White),
|
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Blue,White),
|
||||||
[BAR_BORDER] = ColorPair(Blue,White),
|
[BAR_BORDER] = ColorPair(Blue,White),
|
||||||
|
@ -357,7 +357,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[PROCESS_R_STATE] = ColorPair(Green,Black),
|
[PROCESS_R_STATE] = ColorPair(Green,Black),
|
||||||
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Black),
|
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Black),
|
||||||
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Black),
|
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Black),
|
||||||
[PROCESS_LOW_PRIORITY] = ColorPair(Red,Black),
|
[PROCESS_LOW_PRIORITY] = ColorPair(Green,Black),
|
||||||
[PROCESS_THREAD] = ColorPair(Blue,Black),
|
[PROCESS_THREAD] = ColorPair(Blue,Black),
|
||||||
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Blue,Black),
|
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Blue,Black),
|
||||||
[BAR_BORDER] = ColorPair(Blue,Black),
|
[BAR_BORDER] = ColorPair(Blue,Black),
|
||||||
|
@ -416,7 +416,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[PROCESS_R_STATE] = ColorPair(Green,Blue),
|
[PROCESS_R_STATE] = ColorPair(Green,Blue),
|
||||||
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Blue),
|
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Blue),
|
||||||
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Blue),
|
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Blue),
|
||||||
[PROCESS_LOW_PRIORITY] = ColorPair(Red,Blue),
|
[PROCESS_LOW_PRIORITY] = ColorPair(Green,Blue),
|
||||||
[PROCESS_THREAD] = ColorPair(Green,Blue),
|
[PROCESS_THREAD] = ColorPair(Green,Blue),
|
||||||
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Green,Blue),
|
[PROCESS_THREAD_BASENAME] = A_BOLD | ColorPair(Green,Blue),
|
||||||
[BAR_BORDER] = A_BOLD | ColorPair(Yellow,Blue),
|
[BAR_BORDER] = A_BOLD | ColorPair(Yellow,Blue),
|
||||||
|
@ -477,7 +477,7 @@ int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT] = {
|
||||||
[PROCESS_R_STATE] = ColorPair(Green,Black),
|
[PROCESS_R_STATE] = ColorPair(Green,Black),
|
||||||
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Black),
|
[PROCESS_D_STATE] = A_BOLD | ColorPair(Red,Black),
|
||||||
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Black),
|
[PROCESS_HIGH_PRIORITY] = ColorPair(Red,Black),
|
||||||
[PROCESS_LOW_PRIORITY] = ColorPair(Red,Black),
|
[PROCESS_LOW_PRIORITY] = ColorPair(Green,Black),
|
||||||
[BAR_BORDER] = A_BOLD | ColorPair(Green,Black),
|
[BAR_BORDER] = A_BOLD | ColorPair(Green,Black),
|
||||||
[BAR_SHADOW] = ColorPair(Cyan,Black),
|
[BAR_SHADOW] = ColorPair(Cyan,Black),
|
||||||
[SWAP] = ColorPair(Red,Black),
|
[SWAP] = ColorPair(Red,Black),
|
||||||
|
|
Loading…
Reference in New Issue