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
b334d89d
Commit
b334d89d
authored
Jun 02, 2022
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jun 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Support parsing more combobox parts and states.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
parent
f1aa061d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
0 deletions
+40
-0
stylemap.c
dlls/uxtheme/stylemap.c
+34
-0
vsstyle.h
include/vsstyle.h
+6
-0
No files found.
dlls/uxtheme/stylemap.c
View file @
b334d89d
...
...
@@ -442,6 +442,40 @@ static const MSSTYLES_CLASS_MAP classCombobox[] = {
{
CP_DROPDOWNBUTTON
,
CBXS_HOT
,
L"HOT"
},
{
CP_DROPDOWNBUTTON
,
CBXS_PRESSED
,
L"PRESSED"
},
{
CP_DROPDOWNBUTTON
,
CBXS_DISABLED
,
L"DISABLED"
},
{
CP_BACKGROUND
,
0
,
L"BACKGROUND"
},
{
CP_TRANSPARENTBACKGROUND
,
0
,
L"TRANSPARENTBACKGROUND"
},
{
CP_TRANSPARENTBACKGROUND
,
CBTBS_NORMAL
,
L"NORMAL"
},
{
CP_TRANSPARENTBACKGROUND
,
CBTBS_HOT
,
L"HOT"
},
{
CP_TRANSPARENTBACKGROUND
,
CBTBS_DISABLED
,
L"DISABLED"
},
{
CP_TRANSPARENTBACKGROUND
,
CBTBS_FOCUSED
,
L"FOCUSED"
},
{
CP_BORDER
,
0
,
L"BORDER"
},
{
CP_BORDER
,
CBB_NORMAL
,
L"NORMAL"
},
{
CP_BORDER
,
CBB_HOT
,
L"HOT"
},
{
CP_BORDER
,
CBB_FOCUSED
,
L"FOCUSED"
},
{
CP_BORDER
,
CBB_DISABLED
,
L"DISABLED"
},
{
CP_READONLY
,
0
,
L"READONLY"
},
{
CP_READONLY
,
CBRO_NORMAL
,
L"NORMAL"
},
{
CP_READONLY
,
CBRO_HOT
,
L"HOT"
},
{
CP_READONLY
,
CBRO_PRESSED
,
L"PRESSED"
},
{
CP_READONLY
,
CBRO_DISABLED
,
L"DISABLED"
},
{
CP_DROPDOWNBUTTONRIGHT
,
0
,
L"DROPDOWNBUTTONRIGHT"
},
{
CP_DROPDOWNBUTTONRIGHT
,
CBXSR_NORMAL
,
L"NORMAL"
},
{
CP_DROPDOWNBUTTONRIGHT
,
CBXSR_HOT
,
L"HOT"
},
{
CP_DROPDOWNBUTTONRIGHT
,
CBXSR_PRESSED
,
L"PRESSED"
},
{
CP_DROPDOWNBUTTONRIGHT
,
CBXSR_DISABLED
,
L"DISABLED"
},
{
CP_DROPDOWNBUTTONLEFT
,
0
,
L"DROPDOWNBUTTONLEFT"
},
{
CP_DROPDOWNBUTTONLEFT
,
CBXSL_NORMAL
,
L"NORMAL"
},
{
CP_DROPDOWNBUTTONLEFT
,
CBXSL_HOT
,
L"HOT"
},
{
CP_DROPDOWNBUTTONLEFT
,
CBXSL_PRESSED
,
L"PRESSED"
},
{
CP_DROPDOWNBUTTONLEFT
,
CBXSL_DISABLED
,
L"DISABLED"
},
{
CP_CUEBANNER
,
0
,
L"CUEBANNER"
},
{
CP_CUEBANNER
,
CBCB_NORMAL
,
L"NORMAL"
},
{
CP_CUEBANNER
,
CBCB_HOT
,
L"HOT"
},
{
CP_CUEBANNER
,
CBCB_PRESSED
,
L"PRESSED"
},
{
CP_CUEBANNER
,
CBCB_DISABLED
,
L"DISABLED"
},
{
CP_DROPDOWNITEM
,
0
,
L"DROPDOWNITEM"
},
{
CP_DROPDOWNITEM
,
CBDI_NORMAL
,
L"NORMAL"
},
{
CP_DROPDOWNITEM
,
CBDI_HIGHLIGHTED
,
L"HIGHLIGHTED"
},
{
0
,
0
,
L""
}
};
...
...
include/vsstyle.h
View file @
b334d89d
...
...
@@ -168,6 +168,7 @@ enum COMBOBOXPARTS {
CP_DROPDOWNBUTTONRIGHT
=
6
,
CP_DROPDOWNBUTTONLEFT
=
7
,
CP_CUEBANNER
=
8
,
CP_DROPDOWNITEM
=
9
,
};
#define COMBOBOXSTYLEPARTS COMBOBOXPARTS;
...
...
@@ -221,6 +222,11 @@ enum CUEBANNERSTATES {
CBCB_DISABLED
=
4
,
};
enum
DROPDOWNITEMSTATES
{
CBDI_NORMAL
=
1
,
CBDI_HIGHLIGHTED
=
2
,
};
/* COMMUNICATIONSSTYLE class */
#if defined(_MSC_VER) || defined(__MINGW32__)
#define VSCLASS_COMMUNICATIONSSTYLE L"COMMUNICATIONSSTYLE"
...
...
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