From cb254cb5f424e55c137fdc12aa67e490bbcaa3d2 Mon Sep 17 00:00:00 2001 From: Zhiyi Zhang Date: Mon, 26 Sep 2022 11:24:55 +0800 Subject: [PATCH] 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 --- dlls/light.msstyles/light.rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/light.msstyles/light.rc b/dlls/light.msstyles/light.rc index eb517ed09db..be8b1dfda57 100644 --- a/dlls/light.msstyles/light.rc +++ b/dlls/light.msstyles/light.rc @@ -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"