Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
16dbfe96
Commit
16dbfe96
authored
Jun 06, 1999
by
Ron Cemer
Committed by
Alexandre Julliard
Jun 06, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for Win9x and WinNT look and feel.
parent
08b9b4f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
sysmetrics.c
windows/sysmetrics.c
+14
-10
No files found.
windows/sysmetrics.c
View file @
16dbfe96
...
...
@@ -20,12 +20,12 @@ static short sysMetrics[SM_CMETRICS+1];
* Initialisation of the system metrics array.
*
* Differences in return values between 3.1 and 95 apps under Win95 (FIXME ?):
* SM_CXVSCROLL x+1 x
* SM_CYHSCROLL x+1 x
* SM_CXDLGFRAME x-1 x
* SM_CYDLGFRAME x-1 x
* SM_CYCAPTION x+1 x
* SM_CYMENU x-1 x
* SM_CXVSCROLL x+1 x
Fixed May 24, 1999 - Ronald B. Cemer
* SM_CYHSCROLL x+1 x
Fixed May 24, 1999 - Ronald B. Cemer
* SM_CXDLGFRAME x-1 x
Already fixed
* SM_CYDLGFRAME x-1 x
Already fixed
* SM_CYCAPTION x+1 x
Fixed May 24, 1999 - Ronald B. Cemer
* SM_CYMENU x-1 x
Already fixed
* SM_CYFULLSCREEN x-1 x
*
* (collides with TWEAK_WineLook sometimes,
...
...
@@ -37,15 +37,19 @@ void SYSMETRICS_Init(void)
sysMetrics
[
SM_CYCURSOR
]
=
32
;
sysMetrics
[
SM_CXSCREEN
]
=
MONITOR_GetWidth
(
&
MONITOR_PrimaryMonitor
);
sysMetrics
[
SM_CYSCREEN
]
=
MONITOR_GetHeight
(
&
MONITOR_PrimaryMonitor
);
sysMetrics
[
SM_CXVSCROLL
]
=
PROFILE_GetWineIniInt
(
"Tweak.Layout"
,
"ScrollBarWidth"
,
16
)
+
1
;
if
(
TWEAK_WineLook
>
WIN31_LOOK
)
sysMetrics
[
SM_CXVSCROLL
]
=
PROFILE_GetWineIniInt
(
"Tweak.Layout"
,
"ScrollBarWidth"
,
16
);
else
sysMetrics
[
SM_CXVSCROLL
]
=
PROFILE_GetWineIniInt
(
"Tweak.Layout"
,
"ScrollBarWidth"
,
17
);
sysMetrics
[
SM_CYHSCROLL
]
=
sysMetrics
[
SM_CXVSCROLL
];
if
(
TWEAK_WineLook
>
WIN31_LOOK
)
sysMetrics
[
SM_CYCAPTION
]
=
PROFILE_GetWineIniInt
(
"Tweak.Layout"
,
"CaptionHeight"
,
19
);
else
sysMetrics
[
SM_CYCAPTION
]
=
2
+
PROFILE_GetWineIniInt
(
"Tweak.Layout"
,
"CaptionHeight"
,
18
);
sysMetrics
[
SM_CYCAPTION
]
=
PROFILE_GetWineIniInt
(
"Tweak.Layout"
,
"CaptionHeight"
,
20
);
sysMetrics
[
SM_CXBORDER
]
=
1
;
sysMetrics
[
SM_CYBORDER
]
=
sysMetrics
[
SM_CXBORDER
];
sysMetrics
[
SM_CXDLGFRAME
]
=
...
...
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