Commit 29b29edd authored by Kevin Schmidt's avatar Kevin Schmidt Committed by Alexandre Julliard

taskmgr: Use macro for the color black too.

parent eee640c9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment