[ros-diffs] [tkreuzer] 39282: timedate.cpl: Fix size of the clock on both windows and reactos on any screen resolution.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Mon Feb 2 02:33:13 CET 2009


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?rev=39282&r1=39281&r2=39282&view=diff
==============================================================================
--- 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,



More information about the Ros-diffs mailing list