Zhiyi Zhang : uxtheme: Support more progress bar parts.

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


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

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

uxtheme: Support more progress bar parts.

These parts are available on Vista+.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/uxtheme/stylemap.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/dlls/uxtheme/stylemap.c b/dlls/uxtheme/stylemap.c
index c9a23429511..afeda659a36 100644
--- a/dlls/uxtheme/stylemap.c
+++ b/dlls/uxtheme/stylemap.c
@@ -526,6 +526,26 @@ static const MSSTYLES_CLASS_MAP classProgress[] = {
     {PP_BARVERT, 0, L"BARVERT"},
     {PP_CHUNK, 0, L"CHUNK"},
     {PP_CHUNKVERT, 0, L"CHUNKVERT"},
+    {PP_FILL, 0, L"FILL"},
+    {PP_FILL, PBFS_NORMAL, L"NORMAL"},
+    {PP_FILL, PBFS_ERROR, L"ERROR"},
+    {PP_FILL, PBFS_PAUSED, L"PAUSED"},
+    {PP_FILL, PBFS_PARTIAL, L"PARTIAL"},
+    {PP_FILLVERT, 0, L"FILLVERT"},
+    {PP_FILLVERT, PBFVS_NORMAL, L"NORMAL"},
+    {PP_FILLVERT, PBFVS_ERROR, L"ERROR"},
+    {PP_FILLVERT, PBFVS_PAUSED, L"PAUSED"},
+    {PP_FILLVERT, PBFVS_PARTIAL, L"PARTIAL"},
+    {PP_PULSEOVERLAY, 0, L"PULSEOVERLAY"},
+    {PP_MOVEOVERLAY, 0, L"MOVEOVERLAY"},
+    {PP_PULSEOVERLAYVERT, 0, L"PULSEOVERLAYVERT"},
+    {PP_MOVEOVERLAYVERT, 0, L"MOVEOVERLAYVERT"},
+    {PP_TRANSPARENTBAR, 0, L"TRANSPARENTBAR"},
+    {PP_TRANSPARENTBAR, PBBS_NORMAL, L"NORMAL"},
+    {PP_TRANSPARENTBAR, PBBS_PARTIAL, L"PARTIAL"},
+    {PP_TRANSPARENTBARVERT, 0, L"TRANSPARENTBARVERT"},
+    {PP_TRANSPARENTBARVERT, PBBVS_NORMAL, L"NORMAL"},
+    {PP_TRANSPARENTBARVERT, PBBVS_PARTIAL, L"PARTIAL"},
     {0, 0, L""}
 };
 




More information about the wine-cvs mailing list