Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7e48747b
Commit
7e48747b
authored
May 25, 2022
by
Zhiyi Zhang
Committed by
Alexandre Julliard
May 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Support parsing menu class.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d8158937
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
stylemap.c
dlls/uxtheme/stylemap.c
+54
-0
No files found.
dlls/uxtheme/stylemap.c
View file @
7e48747b
...
...
@@ -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"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment