From 7143c458f9b5e5b907fa5a8e591d393c6b128086 Mon Sep 17 00:00:00 2001 From: Zhiyi Zhang Date: Wed, 17 Nov 2021 14:30:44 +0800 Subject: [PATCH] light.msstyles: Add more progress bar parts. Fix Nokia SDK 2.0 for Java installer showing artifacts on its progress bar. The application queries for these Vista+ progress bar parts because Wine's default system version is set to Windows 7. Signed-off-by: Zhiyi Zhang Signed-off-by: Alexandre Julliard --- dlls/light.msstyles/light.rc | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/dlls/light.msstyles/light.rc b/dlls/light.msstyles/light.rc index 87b5c26e617..ba27c9461bc 100644 --- a/dlls/light.msstyles/light.rc +++ b/dlls/light.msstyles/light.rc @@ -486,6 +486,55 @@ BLUE_INI TEXTFILE "SizingMargins = 1, 1, 1, 1\r\n" "SizingType = Stretch\r\n" +"[Progress.Fill]\r\n" +"FillColor = 48 150 250\r\n" + +"[Progress.FillVert]\r\n" +"FillColor = 48 150 250\r\n" + +"[Progress.Fill(Error)]\r\n" +"FillColor = 213 0 0\r\n" + +"[Progress.FillVert(Error)]\r\n" +"FillColor = 213 0 0\r\n" + +"[Progress.Fill(Paused)]\r\n" +"FillColor = 255 238 88\r\n" + +"[Progress.FillVert(Paused)]\r\n" +"FillColor = 255 238 88\r\n" + +"[Progress.Fill(Partial)]\r\n" +"FillColor = 189 189 189\r\n" + +"[Progress.FillVert(Partial)]\r\n" +"FillColor = 189 189 189\r\n" + +"[Progress.PulseOverlay]\r\n" +"BgType = None\r\n" + +"[Progress.MoveOverlay]\r\n" +"BgType = None\r\n" + +"[Progress.PulseOverlayVert]\r\n" +"BgType = None\r\n" + +"[Progress.MoveOverlayVert]\r\n" +"BgType = None\r\n" + +"[Progress.TransparentBar]\r\n" +"BgType = ImageFile\r\n" +"ImageFile = blue_progress_track_horizontal.bmp\r\n" +"MinSize = 10, 10\r\n" +"SizingMargins = 1, 1, 1, 1\r\n" +"SizingType = Stretch\r\n" + +"[Progress.TransparentBarVert]\r\n" +"BgType = ImageFile\r\n" +"ImageFile = blue_progress_track_vertical.bmp\r\n" +"SizingMargins = 1, 1, 1, 1\r\n" +"SizingType = Stretch\r\n" + "\r\n; Rebar\r\n" "[Rebar]\r\n" "BgType = ImageFile\r\n"