light.msstyles: Use a darker color for inactive captions.

Fix invisible disabled menu item text in Subtitle Workshop Classic 6.1.4. The application happens to
use 0xF0F0F0 as the menu background and the inactive caption color to draw disabled menu item text.
In Light theme, the inactive caption color is very close to 0xF0F0F0, thus causing the invisible
text. So use a darker color for inactive captions to avoid this issue. The inactive caption text
color is also adjusted accordingly.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53575
This commit is contained in:
Zhiyi Zhang 2022-09-26 11:24:55 +08:00 committed by Alexandre Julliard
parent 79f67c524b
commit cb254cb5f4

View file

@ -99,7 +99,7 @@ BLUE_INI TEXTFILE
"Scrollbar = 255 255 255\r\n"
"Background = 37 111 149\r\n"
"ActiveCaption = 50 150 250\r\n"
"InactiveCaption = 245 245 245\r\n"
"InactiveCaption = 128 128 128\r\n"
"Menu = 255 255 255\r\n"
"Window = 255 255 255\r\n"
"WindowFrame = 158 158 158\r\n"
@ -115,7 +115,7 @@ BLUE_INI TEXTFILE
"BtnShadow = 166 166 166\r\n"
"GrayText = 166 166 166\r\n"
"BtnText = 0 0 0\r\n"
"InactiveCaptionText = 100 100 100\r\n"
"InactiveCaptionText = 200 200 200\r\n"
"BtnHighlight = 255 255 255\r\n"
"DkShadow3d = 106 106 106\r\n"
"Light3d = 227 227 227\r\n"
@ -124,7 +124,7 @@ BLUE_INI TEXTFILE
"ButtonAlternateFace = 255 255 255\r\n"
"HotTracking = 224 224 224\r\n"
"GradientActiveCaption = 50 150 250\r\n"
"GradientInactiveCaption = 245 245 245\r\n"
"GradientInactiveCaption = 128 128 128\r\n"
"MenuHilight = 48 150 250\r\n"
"MenuBar = 255 255 255\r\n"