mirror of
https://github.com/reactos/reactos.git
synced 2026-07-03 12:44:38 +08:00
timedate.cpl: Fix size of the clock on both windows and reactos on any screen resolution.
svn path=/trunk/; revision=39282
This commit is contained in:
@@ -196,6 +196,8 @@ ClockWndProc(HWND hwnd,
|
||||
PATCOPY);
|
||||
|
||||
oldMap = SetMapMode(hdcMem, MM_ISOTROPIC);
|
||||
SetWindowExtEx(hdcMem, 3600, 2700, NULL);
|
||||
SetViewportExtEx(hdcMem, 800, -600, NULL);
|
||||
SetViewportOrgEx(hdcMem,
|
||||
pClockData->cxClient / 2,
|
||||
pClockData->cyClient / 2,
|
||||
|
||||
Reference in New Issue
Block a user