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
c702ae8a
Commit
c702ae8a
authored
Nov 15, 2002
by
Tony Lambregts
Committed by
Alexandre Julliard
Nov 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SM_CYVTHUMB, SM_CXSMSIZE, SM_CXMENUCHECK and SM_CYMENUCHECK.
parent
81b7b912
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
sysmetrics.c
windows/sysmetrics.c
+6
-7
No files found.
windows/sysmetrics.c
View file @
c702ae8a
...
...
@@ -163,13 +163,12 @@ void SYSMETRICS_Init(void)
sysMetrics
[
SM_WINE_BPP
]
=
GetDeviceCaps
(
hdc
,
BITSPIXEL
);
sysMetrics
[
SM_CXBORDER
]
=
1
;
sysMetrics
[
SM_CYBORDER
]
=
sysMetrics
[
SM_CXBORDER
];
sysMetrics
[
SM_CYVTHUMB
]
=
sysMetrics
[
SM_CXVSCROLL
]
-
1
;
sysMetrics
[
SM_CYVTHUMB
]
=
sysMetrics
[
SM_CXVSCROLL
];
sysMetrics
[
SM_CXHTHUMB
]
=
sysMetrics
[
SM_CYVTHUMB
];
sysMetrics
[
SM_CXICON
]
=
32
;
sysMetrics
[
SM_CYICON
]
=
32
;
sysMetrics
[
SM_CXFULLSCREEN
]
=
sysMetrics
[
SM_CXSCREEN
];
sysMetrics
[
SM_CYFULLSCREEN
]
=
sysMetrics
[
SM_CYSCREEN
]
-
sysMetrics
[
SM_CYCAPTION
];
sysMetrics
[
SM_CYFULLSCREEN
]
=
sysMetrics
[
SM_CYSCREEN
]
-
sysMetrics
[
SM_CYCAPTION
];
sysMetrics
[
SM_CYKANJIWINDOW
]
=
0
;
sysMetrics
[
SM_MOUSEPRESENT
]
=
1
;
sysMetrics
[
SM_CYVSCROLL
]
=
SYSMETRICS_GetRegistryMetric
(
hkey
,
"ScrollHeight"
,
sysMetrics
[
SM_CXVSCROLL
]);
...
...
@@ -220,8 +219,8 @@ void SYSMETRICS_Init(void)
sysMetrics
[
SM_CXSMICON
]
=
sysMetrics
[
SM_CYSIZE
]
-
(
sysMetrics
[
SM_CYSIZE
]
%
2
);
sysMetrics
[
SM_CYSMICON
]
=
sysMetrics
[
SM_CXSMICON
];
sysMetrics
[
SM_CYSMCAPTION
]
=
16
;
sysMetrics
[
SM_CXSMSIZE
]
=
1
5
;
sysMetrics
[
SM_CYSMSIZE
]
=
sysMetrics
[
SM_CXSMSIZE
]
;
sysMetrics
[
SM_CXSMSIZE
]
=
1
3
;
sysMetrics
[
SM_CYSMSIZE
]
=
15
;
sysMetrics
[
SM_CXMENUSIZE
]
=
sysMetrics
[
SM_CYMENU
]
-
1
;
sysMetrics
[
SM_CYMENUSIZE
]
=
sysMetrics
[
SM_CXMENUSIZE
];
...
...
@@ -242,8 +241,8 @@ void SYSMETRICS_Init(void)
sysMetrics
[
SM_CXDRAG
]
=
2
;
sysMetrics
[
SM_CYDRAG
]
=
2
;
sysMetrics
[
SM_CXMENUCHECK
]
=
1
4
;
sysMetrics
[
SM_CYMENUCHECK
]
=
1
4
;
sysMetrics
[
SM_CXMENUCHECK
]
=
1
3
;
sysMetrics
[
SM_CYMENUCHECK
]
=
1
3
;
/* FIXME: Should check the type of processor for the following */
sysMetrics
[
SM_SLOWMACHINE
]
=
0
;
...
...
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