Author: tkreuzer
Date: Sun Feb 1 19:33:13 2009
New Revision: 39282
URL:
http://svn.reactos.org/svn/reactos?rev=39282&view=rev
Log:
timedate.cpl: Fix size of the clock on both windows and reactos on any screen resolution.
Modified:
trunk/reactos/dll/cpl/timedate/clock.c
Modified: trunk/reactos/dll/cpl/timedate/clock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/timedate/clock.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/timedate/clock.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/timedate/clock.c [iso-8859-1] Sun Feb 1 19:33:13 2009
@@ -196,6 +196,8 @@
PATCOPY);
oldMap = SetMapMode(hdcMem, MM_ISOTROPIC);
+ SetWindowExtEx(hdcMem, 3600, 2700, NULL);
+ SetViewportExtEx(hdcMem, 800, -600, NULL);
SetViewportOrgEx(hdcMem,
pClockData->cxClient / 2,
pClockData->cyClient / 2,