Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
061ac08d
Commit
061ac08d
authored
Feb 22, 2021
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Feb 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Add Command Link part and state definitions.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b08c622e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
stylemap.c
dlls/uxtheme/stylemap.c
+13
-0
tmschema.h
include/tmschema.h
+21
-0
No files found.
dlls/uxtheme/stylemap.c
View file @
061ac08d
...
...
@@ -374,6 +374,19 @@ static const MSSTYLES_CLASS_MAP classButton[] = {
{
BP_RADIOBUTTON
,
GBS_NORMAL
,
L"NORMAL"
},
{
BP_RADIOBUTTON
,
GBS_DISABLED
,
L"DISABLED"
},
{
BP_USERBUTTON
,
0
,
L"USERBUTTON"
},
{
BP_COMMANDLINK
,
0
,
L"COMMANDLINK"
},
{
BP_COMMANDLINK
,
CMDLS_NORMAL
,
L"NORMAL"
},
{
BP_COMMANDLINK
,
CMDLS_HOT
,
L"HOT"
},
{
BP_COMMANDLINK
,
CMDLS_PRESSED
,
L"PRESSED"
},
{
BP_COMMANDLINK
,
CMDLS_DISABLED
,
L"DISABLED"
},
{
BP_COMMANDLINK
,
CMDLS_DEFAULTED
,
L"DEFAULTED"
},
{
BP_COMMANDLINK
,
CMDLS_DEFAULTED_ANIMATING
,
L"DEFAULTED_ANIMATING"
},
{
BP_COMMANDLINKGLYPH
,
0
,
L"COMMANDLINKGLYPH"
},
{
BP_COMMANDLINKGLYPH
,
CMDLGS_NORMAL
,
L"NORMAL"
},
{
BP_COMMANDLINKGLYPH
,
CMDLGS_HOT
,
L"HOT"
},
{
BP_COMMANDLINKGLYPH
,
CMDLGS_PRESSED
,
L"PRESSED"
},
{
BP_COMMANDLINKGLYPH
,
CMDLGS_DISABLED
,
L"DISABLED"
},
{
BP_COMMANDLINKGLYPH
,
CMDLGS_DEFAULTED
,
L"DEFAULTED"
},
{
0
,
0
,
L""
}
};
...
...
include/tmschema.h
View file @
061ac08d
...
...
@@ -411,6 +411,8 @@ BEGIN_TM_CLASS_PARTS(BUTTON)
TM_PART
(
3
,
BP
,
CHECKBOX
)
TM_PART
(
4
,
BP
,
GROUPBOX
)
TM_PART
(
5
,
BP
,
USERBUTTON
)
TM_PART
(
6
,
BP
,
COMMANDLINK
)
TM_PART
(
7
,
BP
,
COMMANDLINKGLYPH
)
END_TM_CLASS_PARTS
()
/* BUTTON - PUSHBUTTON states */
...
...
@@ -456,6 +458,25 @@ BEGIN_TM_PART_STATES(GROUPBOX)
TM_STATE
(
2
,
GBS
,
DISABLED
)
END_TM_PART_STATES
()
/* BUTTON - COMMANDLINK states */
BEGIN_TM_PART_STATES
(
COMMANDLINK
)
TM_STATE
(
1
,
CMDLS
,
NORMAL
)
TM_STATE
(
2
,
CMDLS
,
HOT
)
TM_STATE
(
3
,
CMDLS
,
PRESSED
)
TM_STATE
(
4
,
CMDLS
,
DISABLED
)
TM_STATE
(
5
,
CMDLS
,
DEFAULTED
)
TM_STATE
(
6
,
CMDLS
,
DEFAULTED_ANIMATING
)
END_TM_PART_STATES
()
/* BUTTON - COMMANDLINKGLYPH states */
BEGIN_TM_PART_STATES
(
COMMANDLINKGLYPH
)
TM_STATE
(
1
,
CMDLGS
,
NORMAL
)
TM_STATE
(
2
,
CMDLGS
,
HOT
)
TM_STATE
(
3
,
CMDLGS
,
PRESSED
)
TM_STATE
(
4
,
CMDLGS
,
DISABLED
)
TM_STATE
(
5
,
CMDLGS
,
DEFAULTED
)
END_TM_PART_STATES
()
/* CLOCK parts */
BEGIN_TM_CLASS_PARTS
(
CLOCK
)
TM_PART
(
1
,
CLP
,
TIME
)
...
...
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