Zhiyi Zhang : light.msstyles: Add more progress bar parts.

Alexandre Julliard julliard at winehq.org
Wed Nov 17 16:27:58 CST 2021


Module: wine
Branch: master
Commit: 7143c458f9b5e5b907fa5a8e591d393c6b128086
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7143c458f9b5e5b907fa5a8e591d393c6b128086

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Wed Nov 17 14:30:44 2021 +0800

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 <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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"




More information about the wine-cvs mailing list