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
8f1853a3
Commit
8f1853a3
authored
May 19, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/imagelist: Clear pixels that fall outside the mask when generating an alpha channel.
parent
9479fbfd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
imagelist.c
dlls/comctl32/imagelist.c
+2
-0
No files found.
dlls/comctl32/imagelist.c
View file @
8f1853a3
...
...
@@ -205,6 +205,8 @@ static BOOL add_with_alpha( HIMAGELIST himl, HDC hdc, int pos, int count,
for
(
j
=
n
*
width
;
j
<
(
n
+
1
)
*
width
;
j
++
)
if
(
!
mask_bits
||
!
((
mask_bits
[
i
*
mask_width
+
j
/
8
]
<<
(
j
%
8
))
&
0x80
))
bits
[
i
*
bm
.
bmWidth
+
j
]
|=
0xff000000
;
else
bits
[
i
*
bm
.
bmWidth
+
j
]
=
0
;
if
(
hdcMask
)
StretchBlt
(
himl
->
hdcMask
,
pt
.
x
,
pt
.
y
,
himl
->
cx
,
himl
->
cy
,
hdcMask
,
n
*
width
,
0
,
width
,
height
,
SRCCOPY
);
}
...
...
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