mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
Fix indentation :)
svn path=/trunk/; revision=33351
This commit is contained in:
parent
98d47d1fc4
commit
e2c529ca16
1 changed files with 51 additions and 60 deletions
|
@ -31,8 +31,7 @@
|
|||
int circlesCount;
|
||||
int width, x, y;
|
||||
|
||||
LRESULT WINAPI ScreenSaverProc (HWND hwnd, UINT iMsg, WPARAM wparam,
|
||||
LPARAM lparam)
|
||||
LRESULT WINAPI ScreenSaverProc (HWND hwnd, UINT iMsg, WPARAM wparam, LPARAM lparam)
|
||||
{
|
||||
HDC hdc;
|
||||
RECT rect;
|
||||
|
@ -41,23 +40,15 @@ LRESULT WINAPI ScreenSaverProc (HWND hwnd, UINT iMsg, WPARAM wparam,
|
|||
switch (iMsg)
|
||||
{
|
||||
case WM_CREATE:
|
||||
{
|
||||
SetTimer (
|
||||
hwnd,
|
||||
APP_TIMER,
|
||||
APP_TIMER_INTERVAL,
|
||||
NULL);
|
||||
}
|
||||
SetTimer (hwnd, APP_TIMER, APP_TIMER_INTERVAL, NULL);
|
||||
break;
|
||||
|
||||
case WM_DESTROY:
|
||||
{
|
||||
KillTimer (hwnd, APP_TIMER);
|
||||
PostQuitMessage (0);
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_TIMER:
|
||||
{
|
||||
hdc = GetDC (hwnd);
|
||||
GetClientRect (hwnd, &rect);
|
||||
hbrush = CreateSolidBrush (RGB (RANDOM_COLOR, RANDOM_COLOR, RANDOM_COLOR));
|
||||
|
|
Loading…
Reference in a new issue