- Obtain border size of windows from registry if available. - Obtain icon size from registry if available. - Create a WindowMetrics section in the default registry and populate it with all currently supported metrics (that are setup to read from the registry).
diff --git a/tools/wine.inf b/tools/wine.inf index 9fd0f94..9405357 100644 --- a/tools/wine.inf +++ b/tools/wine.inf
@@ -33,6 +33,7 @@ CurrentVersion,\ Debugger,\ Desktop,\ + Metrics,\ DirectX,\ Environment,\ Fonts,\ @@ -46,6 +47,7 @@ MciExtStr="Software\Microsoft\Windows NT\CurrentVersion\MCI Extensions" Mci32Str="Software\Microsoft\Windows NT\CurrentVersion\MCI32" Desktop="Control Panel\desktop" +Metrics="Control Panel\desktop\WindowMetrics" CurrentVersion="Software\Microsoft\Windows\CurrentVersion" FontSubStr="Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes" @@ -122,6 +124,18 @@ HKCU,%Desktop%,"UserPreferencemask",1,00,00,00,00 HKCU,%Desktop%,"LowPowerActive",,"0" +[Metrics] +HKCU,%Metrics%,"ScrollWidth",,"16" +HKCU,%Metrics%,"ScrollHeight",,"16" +HKCU,%Metrics%,"CaptionWidth",,"18" +HKCU,%Metrics%,"CaptionHeight",,"18" +HKCU,%Metrics%,"SmCaptionWidth",,"13" +HKCU,%Metrics%,"SmCaptionHeight",,"15" +HKCU,%Metrics%,"MenuWidth",,"18" +HKCU,%Metrics%,"MenuHeight",,"18" +HKCU,%Metrics%,"BorderWidth",,"1" +HKCU,%Metrics%,"Shell Icon Size",,"32" + [DirectX] HKLM,Software\Microsoft\DirectX,"Version",,"4.09.00.0902" HKLM,Software\Microsoft\DirectMusic,GMFilePath,,"%12%\gm.dls"