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
6a5bd0c2
Commit
6a5bd0c2
authored
Oct 14, 2009
by
Wilfried Pasquazzo
Committed by
Alexandre Julliard
Oct 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Respect size of icons when drawing with IPicture_Render.
parent
57b55a66
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
olepicture.c
dlls/oleaut32/olepicture.c
+1
-1
olepicture.c
dlls/oleaut32/tests/olepicture.c
+1
-1
No files found.
dlls/oleaut32/olepicture.c
View file @
6a5bd0c2
...
...
@@ -684,7 +684,7 @@ static HRESULT WINAPI OLEPictureImpl_Render(IPicture *iface, HDC hdc,
break
;
case
PICTYPE_ICON
:
FIXME
(
"Not quite correct implementation of rendering icons...
\n
"
);
DrawIcon
(
hdc
,
x
,
y
,
This
->
desc
.
u
.
icon
.
hicon
);
DrawIcon
Ex
(
hdc
,
x
,
y
,
This
->
desc
.
u
.
icon
.
hicon
,
cx
,
cy
,
0
,
NULL
,
DI_NORMAL
);
break
;
case
PICTYPE_METAFILE
:
...
...
dlls/oleaut32/tests/olepicture.c
View file @
6a5bd0c2
...
...
@@ -667,7 +667,7 @@ static void test_Render(void)
ok
(
result
!=
0x00F0F0F0
,
"Color at 5,5 should have changed, but still was 0x%06X
\n
"
,
result
);
result
=
GetPixel
(
hdc
,
10
,
10
);
todo_wine
ok
(
result
==
0x00F0F0F0
,
ok
(
result
==
0x00F0F0F0
,
"Color at 10,10 should be unchanged 0xF0F0F0, but was 0x%06X
\n
"
,
result
);
IPicture_Release
(
pic
);
...
...
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