mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
[TASKMGR] Favor _countof(), no functional change intended (#5757)
Taskmgr used a mixture: Sometimes _countof(), sometimes ARRAYSIZE() and sometimes it calculated the count plain by sizeof(var)/sizeof(TYPE). Harmonize everywhere to _countof() as it is the shortest solution. Fix some formatting sins, like placing comments before else-statement. Shorten the length of some very long line intentionally *without introducing additional linebreaks* ! Shorten vertical length of some functions to increase their chance to fit on the screen without scrolling. Fix wrong indentation level in TaskManagerWndProc(). *.rc: Remove superfluous and redundant comment in all langs No functional change intended.
This commit is contained in:
parent
410b1030c0
commit
46b4b5581d
43 changed files with 91 additions and 194 deletions
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* PROJECT: ReactOS Task Manager
|
||||
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
||||
* PURPOSE: Performance Graph Meters.
|
||||
* PURPOSE: Performance Graph Meters
|
||||
* COPYRIGHT: Copyright 1999-2001 Brian Palmer <brianp@reactos.org>
|
||||
*/
|
||||
|
||||
|
@ -12,14 +12,14 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
|
||||
#define BRIGHT_GREEN RGB(0, 255, 0)
|
||||
#define MEDIUM_GREEN RGB(0, 190, 0)
|
||||
#define DARK_GREEN RGB(0, 130, 0)
|
||||
#define RED RGB(255, 0, 0)
|
||||
#define BRIGHT_GREEN RGB(0, 255, 0)
|
||||
#define MEDIUM_GREEN RGB(0, 190, 0)
|
||||
#define DARK_GREEN RGB(0, 130, 0)
|
||||
#define RED RGB(255, 0, 0)
|
||||
|
||||
extern WNDPROC OldGraphWndProc;
|
||||
extern WNDPROC OldGraphWndProc;
|
||||
|
||||
INT_PTR CALLBACK Graph_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK Graph_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue