[PATCH 1/3] uxtheme: Support more progress bar parts.

Zhiyi Zhang zzhang at codeweavers.com
Wed Nov 17 00:30:29 CST 2021


These parts are available on Vista+.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
 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""}
 };
 
-- 
2.32.0




More information about the wine-devel mailing list