Signed-off-by: Zhiyi Zhang <zzhang(a)codeweavers.com>
---
dlls/uxtheme/stylemap.c | 54 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/dlls/uxtheme/stylemap.c b/dlls/uxtheme/stylemap.c
index afeda659a36..07fafbe0bde 100644
--- a/dlls/uxtheme/stylemap.c
+++ b/dlls/uxtheme/stylemap.c
@@ -485,6 +485,59 @@ static const MSSTYLES_CLASS_MAP classListview[] = {
{0, 0, L""}
};
+static const MSSTYLES_CLASS_MAP classMenu[] = {
+ {MENU_MENUITEM_TMSCHEMA, 0, L"MENUITEM"},
+ {MENU_MENUDROPDOWN_TMSCHEMA, 0, L"MENUDROPDOWN"},
+ {MENU_MENUBARITEM_TMSCHEMA, 0, L"MENUBARITEM"},
+ {MENU_MENUBARDROPDOWN_TMSCHEMA, 0, L"MENUBARDROPDOWN"},
+ {MENU_CHEVRON_TMSCHEMA, 0, L"CHEVRON"},
+ {MENU_SEPARATOR_TMSCHEMA, 0, L"SEPARATOR"},
+ {MENU_BARBACKGROUND, 0, L"BARBACKGROUND"},
+ {MENU_BARBACKGROUND, MB_ACTIVE, L"ACTIVE"},
+ {MENU_BARBACKGROUND, MB_INACTIVE, L"INACTIVE"},
+ {MENU_BARITEM, 0, L"BARITEM"},
+ {MENU_BARITEM, MBI_NORMAL, L"NORMAL"},
+ {MENU_BARITEM, MBI_HOT, L"HOT"},
+ {MENU_BARITEM, MBI_PUSHED, L"PUSHED"},
+ {MENU_BARITEM, MBI_DISABLED, L"DISABLED"},
+ {MENU_BARITEM, MBI_DISABLEDHOT, L"DISABLEDHOT"},
+ {MENU_BARITEM, MBI_DISABLEDPUSHED, L"DISABLEDPUSHED"},
+ {MENU_POPUPBACKGROUND, 0, L"POPUPBACKGROUND"},
+ {MENU_POPUPBORDERS, 0, L"POPUPBORDERS"},
+ {MENU_POPUPCHECK, 0, L"POPUPCHECK"},
+ {MENU_POPUPCHECK, MC_CHECKMARKNORMAL, L"CHECKMARKNORMAL"},
+ {MENU_POPUPCHECK, MC_CHECKMARKDISABLED, L"CHECKMARKDISABLED"},
+ {MENU_POPUPCHECK, MC_BULLETNORMAL, L"BULLETNORMAL"},
+ {MENU_POPUPCHECK, MC_BULLETDISABLED, L"BULLETDISABLED"},
+ {MENU_POPUPCHECKBACKGROUND, 0, L"POPUPCHECKBACKGROUND"},
+ {MENU_POPUPCHECKBACKGROUND, MCB_DISABLED, L"DISABLED"},
+ {MENU_POPUPCHECKBACKGROUND, MCB_NORMAL, L"NORMAL"},
+ {MENU_POPUPCHECKBACKGROUND, MCB_BITMAP, L"BITMAP"},
+ {MENU_POPUPGUTTER, 0, L"POPUPGUTTER"},
+ {MENU_POPUPITEM, 0, L"POPUPITEM"},
+ {MENU_POPUPITEM, MPI_NORMAL, L"NORMAL"},
+ {MENU_POPUPITEM, MPI_HOT, L"HOT"},
+ {MENU_POPUPITEM, MPI_DISABLED, L"DISABLED"},
+ {MENU_POPUPITEM, MPI_DISABLEDHOT, L"DISABLEDHOT"},
+ {MENU_POPUPSEPARATOR, 0, L"POPUPSEPARATOR"},
+ {MENU_POPUPSUBMENU, 0, L"POPUPSUBMENU"},
+ {MENU_POPUPSUBMENU, MSM_NORMAL, L"NORMAL"},
+ {MENU_POPUPSUBMENU, MSM_DISABLED, L"DISABLED"},
+ {MENU_SYSTEMCLOSE, 0, L"SYSTEMCLOSE"},
+ {MENU_SYSTEMCLOSE, MSYSC_NORMAL, L"NORMAL"},
+ {MENU_SYSTEMCLOSE, MSYSC_DISABLED, L"DISABLED"},
+ {MENU_SYSTEMMAXIMIZE, 0, L"SYSTEMMAXIMIZE"},
+ {MENU_SYSTEMMAXIMIZE, MSYSMX_NORMAL, L"NORMAL"},
+ {MENU_SYSTEMMAXIMIZE, MSYSMX_DISABLED, L"DISABLED"},
+ {MENU_SYSTEMMINIMIZE, 0, L"SYSTEMMINIMIZE"},
+ {MENU_SYSTEMMINIMIZE, MSYSMN_NORMAL, L"NORMAL"},
+ {MENU_SYSTEMMINIMIZE, MSYSMN_DISABLED, L"DISABLED"},
+ {MENU_SYSTEMRESTORE, 0, L"SYSTEMRESTORE"},
+ {MENU_SYSTEMRESTORE, MSYSR_NORMAL, L"NORMAL"},
+ {MENU_SYSTEMRESTORE, MSYSR_DISABLED, L"DISABLED"},
+ {0, 0, L""}
+};
+
static const MSSTYLES_CLASS_MAP classMenuband[] = {
{MDP_NEWAPPBUTTON, 0, L"NEWAPPBUTTON"},
{MDP_NEWAPPBUTTON, MDS_NORMAL, L"NORMAL"},
@@ -1020,6 +1073,7 @@ static const MSSTYLES_CLASS_NAME mapClass[] = {
{classExplorerbar, L"EXPLORERBAR"},
{classHeader, L"HEADER"},
{classListview, L"LISTVIEW"},
+ {classMenu, L"MENU"},
{classMenuband, L"MENUBAND"},
{classPage, L"PAGE"},
{classProgress, L"PROGRESS"},
--
2.34.1