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
74f528eb
Commit
74f528eb
authored
Nov 30, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Use the correct alpha for theme gradients.
parent
174d2f6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
draw.c
dlls/uxtheme/draw.c
+2
-2
No files found.
dlls/uxtheme/draw.c
View file @
74f528eb
...
@@ -921,14 +921,14 @@ static HRESULT UXTHEME_DrawBackgroundFill(HTHEME hTheme, HDC hdc, int iPartId,
...
@@ -921,14 +921,14 @@ static HRESULT UXTHEME_DrawBackgroundFill(HTHEME hTheme, HDC hdc, int iPartId,
vert
[
0
].
Red
=
GetRValue
(
gradient1
)
<<
8
;
vert
[
0
].
Red
=
GetRValue
(
gradient1
)
<<
8
;
vert
[
0
].
Green
=
GetGValue
(
gradient1
)
<<
8
;
vert
[
0
].
Green
=
GetGValue
(
gradient1
)
<<
8
;
vert
[
0
].
Blue
=
GetBValue
(
gradient1
)
<<
8
;
vert
[
0
].
Blue
=
GetBValue
(
gradient1
)
<<
8
;
vert
[
0
].
Alpha
=
0x
00
00
;
vert
[
0
].
Alpha
=
0x
ff
00
;
vert
[
1
].
x
=
pRect
->
right
;
vert
[
1
].
x
=
pRect
->
right
;
vert
[
1
].
y
=
pRect
->
bottom
;
vert
[
1
].
y
=
pRect
->
bottom
;
vert
[
1
].
Red
=
GetRValue
(
gradient2
)
<<
8
;
vert
[
1
].
Red
=
GetRValue
(
gradient2
)
<<
8
;
vert
[
1
].
Green
=
GetGValue
(
gradient2
)
<<
8
;
vert
[
1
].
Green
=
GetGValue
(
gradient2
)
<<
8
;
vert
[
1
].
Blue
=
GetBValue
(
gradient2
)
<<
8
;
vert
[
1
].
Blue
=
GetBValue
(
gradient2
)
<<
8
;
vert
[
1
].
Alpha
=
0x
00
00
;
vert
[
1
].
Alpha
=
0x
ff
00
;
gRect
.
UpperLeft
=
0
;
gRect
.
UpperLeft
=
0
;
gRect
.
LowerRight
=
1
;
gRect
.
LowerRight
=
1
;
...
...
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