mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 00:33:38 +00:00
uxtheme: Support parsing taskdialog class.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53066 Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
This commit is contained in:
parent
c75b46045b
commit
4d42d20e42
|
@ -1061,6 +1061,40 @@ static const MSSTYLES_CLASS_MAP classTaskbar[] = {
|
|||
{0, 0, L""}
|
||||
};
|
||||
|
||||
static const MSSTYLES_CLASS_MAP classTaskdialog[] = {
|
||||
{TDLG_PRIMARYPANEL, 0, L"PRIMARYPANEL"},
|
||||
{TDLG_MAININSTRUCTIONPANE, 0, L"MAININSTRUCTIONPANE"},
|
||||
{TDLG_MAINICON, 0, L"MAINICON"},
|
||||
{TDLG_CONTENTPANE, 0, L"CONTENTPANE"},
|
||||
{TDLG_CONTENTICON, 0, L"CONTENTICON"},
|
||||
{TDLG_EXPANDEDCONTENT, 0, L"EXPANDEDCONTENT"},
|
||||
{TDLG_COMMANDLINKPANE, 0, L"COMMANDLINKPANE"},
|
||||
{TDLG_SECONDARYPANEL, 0, L"SECONDARYPANEL"},
|
||||
{TDLG_CONTROLPANE, 0, L"CONTROLPANE"},
|
||||
{TDLG_CONTROLPANE, TDLGCPS_STANDALONE, L"STANDALONE"},
|
||||
{TDLG_BUTTONSECTION, 0, L"BUTTONSECTION"},
|
||||
{TDLG_BUTTONWRAPPER, 0, L"BUTTONWRAPPER"},
|
||||
{TDLG_EXPANDOTEXT, 0, L"EXPANDOTEXT"},
|
||||
{TDLG_EXPANDOBUTTON, 0, L"EXPANDOBUTTON"},
|
||||
{TDLG_EXPANDOBUTTON, TDLGEBS_NORMAL, L"NORMAL"},
|
||||
{TDLG_EXPANDOBUTTON, TDLGEBS_HOVER, L"HOVER"},
|
||||
{TDLG_EXPANDOBUTTON, TDLGEBS_PRESSED, L"PRESSED"},
|
||||
{TDLG_EXPANDOBUTTON, TDLGEBS_EXPANDEDNORMAL, L"EXPANDEDNORMAL"},
|
||||
{TDLG_EXPANDOBUTTON, TDLGEBS_EXPANDEDHOVER, L"EXPANDEDHOVER"},
|
||||
{TDLG_EXPANDOBUTTON, TDLGEBS_EXPANDEDPRESSED, L"EXPANDEDPRESSED"},
|
||||
{TDLG_EXPANDOBUTTON, TDLGEBS_NORMALDISABLED, L"NORMALDISABLED"},
|
||||
{TDLG_EXPANDOBUTTON, TDLGEBS_EXPANDEDDISABLED, L"EXPANDEDDISABLED"},
|
||||
{TDLG_VERIFICATIONTEXT, 0, L"VERIFICATIONTEXT"},
|
||||
{TDLG_FOOTNOTEPANE, 0, L"FOOTNOTEPANE"},
|
||||
{TDLG_FOOTNOTEAREA, 0, L"FOOTNOTEAREA"},
|
||||
{TDLG_FOOTNOTESEPARATOR, 0, L"FOOTNOTESEPARATOR"},
|
||||
{TDLG_EXPANDEDFOOTERAREA, 0, L"EXPANDEDFOOTERAREA"},
|
||||
{TDLG_PROGRESSBAR, 0, L"PROGRESSBAR"},
|
||||
{TDLG_IMAGEALIGNMENT, 0, L"IMAGEALIGNMENT"},
|
||||
{TDLG_RADIOBUTTONPANE, 0, L"RADIOBUTTONPANE"},
|
||||
{0, 0, L""}
|
||||
};
|
||||
|
||||
static const MSSTYLES_CLASS_MAP classToolbar[] = {
|
||||
{TP_BUTTON, 0, L"BUTTON"},
|
||||
{TP_BUTTON, TS_NORMAL, L"NORMAL"},
|
||||
|
@ -1352,6 +1386,7 @@ static const MSSTYLES_CLASS_NAME mapClass[] = {
|
|||
{classTab, L"TAB"},
|
||||
{classTaskband, L"TASKBAND"},
|
||||
{classTaskbar, L"TASKBAR"},
|
||||
{classTaskdialog, L"TASKDIALOG"},
|
||||
{classToolbar, L"TOOLBAR"},
|
||||
{classTooltip, L"TOOLTIP"},
|
||||
{classTrackbar, L"TRACKBAR"},
|
||||
|
|
|
@ -1293,6 +1293,8 @@ enum EXPANDOBUTTONSTATES {
|
|||
TDLGEBS_EXPANDEDNORMAL = 4,
|
||||
TDLGEBS_EXPANDEDHOVER = 5,
|
||||
TDLGEBS_EXPANDEDPRESSED = 6,
|
||||
TDLGEBS_NORMALDISABLED = 7,
|
||||
TDLGEBS_EXPANDEDDISABLED = 8,
|
||||
};
|
||||
|
||||
/* TEXTSTYLE class */
|
||||
|
|
Loading…
Reference in a new issue