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
2326f3d4
Commit
2326f3d4
authored
Oct 02, 2009
by
Wilfried Pasquazzo
Committed by
Alexandre Julliard
Oct 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: DrawState always uses real icon size for drawing.
parent
3be7ec34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cursoricon.c
dlls/user32/tests/cursoricon.c
+1
-1
uitools.c
dlls/user32/uitools.c
+1
-1
No files found.
dlls/user32/tests/cursoricon.c
View file @
2326f3d4
...
...
@@ -1341,7 +1341,7 @@ static void test_DrawState(void)
/* DSS_NORMAL draw Icon without any modifications */
/* DSS_UNION draw the Icon dithered */
todo_wine
check_DrawState_Size
(
hdcDst
,
FALSE
,
0x00A0B0C0
,
32
,
0
,
DSS_NORMAL
,
__LINE__
);
check_DrawState_Size
(
hdcDst
,
FALSE
,
0x00A0B0C0
,
32
,
0
,
DSS_NORMAL
,
__LINE__
);
check_DrawState_Color
(
hdcDst
,
FALSE
,
0x00A0B0C0
,
32
,
0
,
DSS_NORMAL
,
0x00FFFFFF
,
0x00C0B0A0
,
0x00C0B0A0
,
__LINE__
);
cleanup:
...
...
dlls/user32/uitools.c
View file @
2326f3d4
...
...
@@ -1534,7 +1534,7 @@ static BOOL UITOOLS_DrawStateJam( HDC hdc, UINT opcode, DRAWSTATEPROC func, LPAR
return
DrawTextA
(
hdc
,
(
LPSTR
)
lp
,
(
INT
)
wp
,
rc
,
dtflags
);
case
DST_ICON
:
return
DrawIcon
(
hdc
,
rc
->
left
,
rc
->
top
,
(
HICON
)
lp
);
return
DrawIcon
Ex
(
hdc
,
rc
->
left
,
rc
->
top
,
(
HICON
)
lp
,
0
,
0
,
0
,
NULL
,
DI_NORMAL
);
case
DST_BITMAP
:
memdc
=
CreateCompatibleDC
(
hdc
);
...
...
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