uxtheme: Support more progress bar parts.

These parts are available on Vista+.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2021-11-17 14:30:29 +08:00 committed by Alexandre Julliard
parent 3eb36d6dbc
commit bb116c4b77
1 changed files with 20 additions and 0 deletions

View File

@ -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""}
};