taskmgr: Use macro for the color black too.
This commit is contained in:
parent
eee640c938
commit
29b29eddcc
1 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue