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
02919df4
Commit
02919df4
authored
Dec 21, 2000
by
Eric Kohl
Committed by
Alexandre Julliard
Dec 21, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use handle to palette instead of index for EMR_SELECTPALETTE.
Implemented simple case for EMR_EXTSELECTCLIPRGN.
parent
58c58c54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
enhmetafile.c
objects/enhmetafile.c
+10
-4
No files found.
objects/enhmetafile.c
View file @
02919df4
...
...
@@ -668,7 +668,7 @@ BOOL WINAPI PlayEnhMetaFileRecord(
/* FIXME: Should this be forcing background mode? */
(
handletable
->
objectHandle
)[
lpSelectPal
->
ihPal
]
=
SelectPalette
(
hdc
,
lpSelectPal
->
ihPal
,
FALSE
);
SelectPalette
(
hdc
,
(
handletable
->
objectHandle
)[
lpSelectPal
->
ihPal
]
,
FALSE
);
break
;
}
...
...
@@ -678,16 +678,22 @@ BOOL WINAPI PlayEnhMetaFileRecord(
break
;
}
#if 0
case
EMR_EXTSELECTCLIPRGN
:
{
PEMREXTSELECTCLIPRGN
lpRgn
=
(
PEMREXTSELECTCLIPRGN
)
mr
;
if
((
lpRgn
->
cbRgnData
==
0
)
&&
(
lpRgn
->
iMode
==
RGN_COPY
))
{
ExtSelectClipRgn
(
hdc
,
0
,
RGN_COPY
);
}
else
{
FIXME
(
"EMR_EXTSELECTCLIPRGN cbRgnData %lu
\n
"
,
lpRgn
->
cbRgnData
);
/* Need to make a region out of the RGNDATA we have */
ExtSelectClipRgn( hdc, ..., (INT)(lpRgn->iMode) );
/* ExtCreateRegion(....); */
/* ExtSelectClipRgn( hdc, ..., (INT)(lpRgn->iMode) ); */
}
break
;
}
#endif
case
EMR_SETMETARGN
:
{
...
...
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