1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

taskmgr: Use macro for the color black too.

This commit is contained in:
Kevin Schmidt 2023-06-18 19:58:25 +02:00 committed by Alexandre Julliard
parent eee640c938
commit 29b29eddcc

View file

@ -32,9 +32,10 @@
#include "taskmgr.h"
#include "perfdata.h"
#define BRIGHT_GREEN RGB(0, 255, 0)
#define DARK_GREEN RGB(0, 130, 0)
#define RED RGB(255, 0, 0)
#define BRIGHT_GREEN RGB(0, 255, 0)
#define DARK_GREEN RGB(0, 130, 0)
#define RED RGB(255, 0, 0)
#define BLACK RGB(0, 0, 0)
WNDPROC OldGraphWndProc;
@ -69,7 +70,7 @@ static void Graph_DrawCpuUsageGraph(HDC hDC, HWND hWnd)
/*
* Fill it with blackness
*/
FillSolidRect(hDC, &rcClient, RGB(0, 0, 0));
FillSolidRect(hDC, &rcClient, BLACK);
/*
* Get the CPU usage
@ -248,7 +249,7 @@ static void Graph_DrawMemUsageGraph(HDC hDC, HWND hWnd)
/*
* Fill it with blackness
*/
FillSolidRect(hDC, &rcClient, RGB(0, 0, 0));
FillSolidRect(hDC, &rcClient, BLACK);
/*
* Get the memory usage
@ -344,7 +345,7 @@ static void Graph_DrawMemUsageHistoryGraph(HDC hDC, HWND hWnd)
/*
* Fill it with blackness
*/
FillSolidRect(hDC, &rcClient, RGB(0, 0, 0));
FillSolidRect(hDC, &rcClient, BLACK);
/*
* Draw the graph background