Compute SM_CYMAXIMIZED purely based on the screen height until we know
how to take into account 'start menus' correctly.
This commit is contained in:
parent
910851a20e
commit
9234cba140
|
@ -231,14 +231,10 @@ void SYSMETRICS_Init(void)
|
|||
sysMetrics[SM_CYMINIMIZED] = 24;
|
||||
|
||||
/* FIXME: How do I calculate these? */
|
||||
sysMetrics[SM_CXMAXTRACK] =
|
||||
sysMetrics[SM_CXSCREEN] + 4 + 2 * sysMetrics[SM_CXFRAME];
|
||||
sysMetrics[SM_CYMAXTRACK] =
|
||||
sysMetrics[SM_CYSCREEN] + 4 + 2 * sysMetrics[SM_CYFRAME];
|
||||
sysMetrics[SM_CXMAXIMIZED] =
|
||||
sysMetrics[SM_CXSCREEN] + 2 * sysMetrics[SM_CXFRAME];
|
||||
sysMetrics[SM_CYMAXIMIZED] =
|
||||
sysMetrics[SM_CYSCREEN] - 45;
|
||||
sysMetrics[SM_CXMAXTRACK] = sysMetrics[SM_CXSCREEN] + 4 + 2 * sysMetrics[SM_CXFRAME];
|
||||
sysMetrics[SM_CYMAXTRACK] = sysMetrics[SM_CYSCREEN] + 4 + 2 * sysMetrics[SM_CYFRAME];
|
||||
sysMetrics[SM_CXMAXIMIZED] = sysMetrics[SM_CXSCREEN] + 2 * sysMetrics[SM_CXFRAME];
|
||||
sysMetrics[SM_CYMAXIMIZED] = sysMetrics[SM_CYSCREEN] + 2 * sysMetrics[SM_CXFRAME];
|
||||
sysMetrics[SM_NETWORK] = 3;
|
||||
|
||||
/* For the following: 0 = ok, 1 = failsafe, 2 = failsafe + network */
|
||||
|
|
Loading…
Reference in New Issue