Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
9234cba1
Commit
9234cba1
authored
Nov 06, 2002
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compute SM_CYMAXIMIZED purely based on the screen height until we know
how to take into account 'start menus' correctly.
parent
910851a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
sysmetrics.c
windows/sysmetrics.c
+4
-8
No files found.
windows/sysmetrics.c
View file @
9234cba1
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment