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
24a3ae06
Commit
24a3ae06
authored
Nov 09, 2005
by
Christian Costa
Committed by
Alexandre Julliard
Nov 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If a color bitmap is provided, store bitmap information from it
instead of the mask bitmap one.
parent
68b8a4ab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
cursoricon.c
dlls/user/cursoricon.c
+12
-1
No files found.
dlls/user/cursoricon.c
View file @
24a3ae06
...
...
@@ -1840,11 +1840,22 @@ HICON WINAPI CreateIconIndirect(PICONINFO iconinfo)
info
->
ptHotSpot
.
y
=
iconinfo
->
yHotspot
;
}
if
(
iconinfo
->
hbmColor
)
{
info
->
nWidth
=
bmpXor
.
bmWidth
;
info
->
nHeight
=
bmpXor
.
bmHeight
;
info
->
nWidthBytes
=
bmpXor
.
bmWidthBytes
;
info
->
bPlanes
=
bmpXor
.
bmPlanes
;
info
->
bBitsPerPixel
=
bmpXor
.
bmBitsPixel
;
}
else
{
info
->
nWidth
=
bmpAnd
.
bmWidth
;
info
->
nHeight
=
iconinfo
->
hbmColor
?
bmpAnd
.
bmHeight
:
(
bmpAnd
.
bmHeight
/
2
)
;
info
->
nHeight
=
bmpAnd
.
bmHeight
/
2
;
info
->
nWidthBytes
=
bmpAnd
.
bmWidthBytes
;
info
->
bPlanes
=
bmpAnd
.
bmPlanes
;
info
->
bBitsPerPixel
=
bmpAnd
.
bmBitsPixel
;
}
/* Transfer the bitmap bits to the CURSORICONINFO structure */
...
...
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