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
f6f07e0c
Commit
f6f07e0c
authored
Jun 06, 2022
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jun 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Support parsing more toolbar parts and states.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
parent
c9af75ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
stylemap.c
dlls/uxtheme/stylemap.c
+21
-0
vsstyle.h
include/vsstyle.h
+1
-0
No files found.
dlls/uxtheme/stylemap.c
View file @
f6f07e0c
...
...
@@ -1103,6 +1103,8 @@ static const MSSTYLES_CLASS_MAP classToolbar[] = {
{
TP_BUTTON
,
TS_DISABLED
,
L"DISABLED"
},
{
TP_BUTTON
,
TS_CHECKED
,
L"CHECKED"
},
{
TP_BUTTON
,
TS_HOTCHECKED
,
L"HOTCHECKED"
},
{
TP_BUTTON
,
TS_NEARHOT
,
L"NEARHOT"
},
{
TP_BUTTON
,
TS_OTHERSIDEHOT
,
L"OTHERSIDEHOT"
},
{
TP_DROPDOWNBUTTON
,
0
,
L"DROPDOWNBUTTON"
},
{
TP_DROPDOWNBUTTON
,
TS_NORMAL
,
L"NORMAL"
},
{
TP_DROPDOWNBUTTON
,
TS_HOT
,
L"HOT"
},
...
...
@@ -1110,6 +1112,8 @@ static const MSSTYLES_CLASS_MAP classToolbar[] = {
{
TP_DROPDOWNBUTTON
,
TS_DISABLED
,
L"DISABLED"
},
{
TP_DROPDOWNBUTTON
,
TS_CHECKED
,
L"CHECKED"
},
{
TP_DROPDOWNBUTTON
,
TS_HOTCHECKED
,
L"HOTCHECKED"
},
{
TP_DROPDOWNBUTTON
,
TS_NEARHOT
,
L"NEARHOT"
},
{
TP_DROPDOWNBUTTON
,
TS_OTHERSIDEHOT
,
L"OTHERSIDEHOT"
},
{
TP_SPLITBUTTON
,
0
,
L"SPLITBUTTON"
},
{
TP_SPLITBUTTON
,
TS_NORMAL
,
L"NORMAL"
},
{
TP_SPLITBUTTON
,
TS_HOT
,
L"HOT"
},
...
...
@@ -1117,6 +1121,8 @@ static const MSSTYLES_CLASS_MAP classToolbar[] = {
{
TP_SPLITBUTTON
,
TS_DISABLED
,
L"DISABLED"
},
{
TP_SPLITBUTTON
,
TS_CHECKED
,
L"CHECKED"
},
{
TP_SPLITBUTTON
,
TS_HOTCHECKED
,
L"HOTCHECKED"
},
{
TP_SPLITBUTTON
,
TS_NEARHOT
,
L"NEARHOT"
},
{
TP_SPLITBUTTON
,
TS_OTHERSIDEHOT
,
L"OTHERSIDEHOT"
},
{
TP_SPLITBUTTONDROPDOWN
,
0
,
L"SPLITBUTTONDROPDOWN"
},
{
TP_SPLITBUTTONDROPDOWN
,
TS_NORMAL
,
L"NORMAL"
},
{
TP_SPLITBUTTONDROPDOWN
,
TS_HOT
,
L"HOT"
},
...
...
@@ -1124,6 +1130,8 @@ static const MSSTYLES_CLASS_MAP classToolbar[] = {
{
TP_SPLITBUTTONDROPDOWN
,
TS_DISABLED
,
L"DISABLED"
},
{
TP_SPLITBUTTONDROPDOWN
,
TS_CHECKED
,
L"CHECKED"
},
{
TP_SPLITBUTTONDROPDOWN
,
TS_HOTCHECKED
,
L"HOTCHECKED"
},
{
TP_SPLITBUTTONDROPDOWN
,
TS_NEARHOT
,
L"NEARHOT"
},
{
TP_SPLITBUTTONDROPDOWN
,
TS_OTHERSIDEHOT
,
L"OTHERSIDEHOT"
},
{
TP_SEPARATOR
,
0
,
L"SEPARATOR"
},
{
TP_SEPARATOR
,
TS_NORMAL
,
L"NORMAL"
},
{
TP_SEPARATOR
,
TS_HOT
,
L"HOT"
},
...
...
@@ -1131,6 +1139,8 @@ static const MSSTYLES_CLASS_MAP classToolbar[] = {
{
TP_SEPARATOR
,
TS_DISABLED
,
L"DISABLED"
},
{
TP_SEPARATOR
,
TS_CHECKED
,
L"CHECKED"
},
{
TP_SEPARATOR
,
TS_HOTCHECKED
,
L"HOTCHECKED"
},
{
TP_SEPARATOR
,
TS_NEARHOT
,
L"NEARHOT"
},
{
TP_SEPARATOR
,
TS_OTHERSIDEHOT
,
L"OTHERSIDEHOT"
},
{
TP_SEPARATORVERT
,
0
,
L"SEPARATORVERT"
},
{
TP_SEPARATORVERT
,
TS_NORMAL
,
L"NORMAL"
},
{
TP_SEPARATORVERT
,
TS_HOT
,
L"HOT"
},
...
...
@@ -1138,6 +1148,17 @@ static const MSSTYLES_CLASS_MAP classToolbar[] = {
{
TP_SEPARATORVERT
,
TS_DISABLED
,
L"DISABLED"
},
{
TP_SEPARATORVERT
,
TS_CHECKED
,
L"CHECKED"
},
{
TP_SEPARATORVERT
,
TS_HOTCHECKED
,
L"HOTCHECKED"
},
{
TP_SEPARATORVERT
,
TS_NEARHOT
,
L"NEARHOT"
},
{
TP_SEPARATORVERT
,
TS_OTHERSIDEHOT
,
L"OTHERSIDEHOT"
},
{
TP_DROPDOWNBUTTONGLYPH
,
0
,
L"DROPDOWNBUTTONGLYPH"
},
{
TP_DROPDOWNBUTTONGLYPH
,
TS_NORMAL
,
L"NORMAL"
},
{
TP_DROPDOWNBUTTONGLYPH
,
TS_HOT
,
L"HOT"
},
{
TP_DROPDOWNBUTTONGLYPH
,
TS_PRESSED
,
L"PRESSED"
},
{
TP_DROPDOWNBUTTONGLYPH
,
TS_DISABLED
,
L"DISABLED"
},
{
TP_DROPDOWNBUTTONGLYPH
,
TS_CHECKED
,
L"CHECKED"
},
{
TP_DROPDOWNBUTTONGLYPH
,
TS_HOTCHECKED
,
L"HOTCHECKED"
},
{
TP_DROPDOWNBUTTONGLYPH
,
TS_NEARHOT
,
L"NEARHOT"
},
{
TP_DROPDOWNBUTTONGLYPH
,
TS_OTHERSIDEHOT
,
L"OTHERSIDEHOT"
},
{
0
,
0
,
L""
}
};
...
...
include/vsstyle.h
View file @
f6f07e0c
...
...
@@ -1344,6 +1344,7 @@ enum TOOLBARPARTS {
TP_SPLITBUTTONDROPDOWN
=
4
,
TP_SEPARATOR
=
5
,
TP_SEPARATORVERT
=
6
,
TP_DROPDOWNBUTTONGLYPH
=
7
,
};
#define TOOLBARSTYLEPARTS TOOLBARPARTS;
...
...
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