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
7a4349bb
Commit
7a4349bb
authored
Oct 14, 2011
by
Daniel Santos
Committed by
Alexandre Julliard
Oct 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Remove PS_USERSTYLE FIXME and workarounds.
parent
f2ad9df4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
15 deletions
+1
-15
pen.c
dlls/gdi32/pen.c
+1
-9
pen.c
dlls/gdi32/tests/pen.c
+0
-6
No files found.
dlls/gdi32/pen.c
View file @
7a4349bb
...
...
@@ -115,8 +115,6 @@ HPEN WINAPI CreatePenIndirect( const LOGPEN * pen )
/***********************************************************************
* ExtCreatePen (GDI32.@)
*
* FIXME: PS_USERSTYLE not handled
*/
HPEN
WINAPI
ExtCreatePen
(
DWORD
style
,
DWORD
width
,
...
...
@@ -137,13 +135,7 @@ HPEN WINAPI ExtCreatePen( DWORD style, DWORD width,
return
0
;
}
if
((
style
&
PS_TYPE_MASK
)
==
PS_COSMETIC
)
{
/* FIXME: PS_USERSTYLE workaround */
FIXME
(
"PS_COSMETIC | PS_USERSTYLE not handled
\n
"
);
style
=
(
style
&
~
PS_STYLE_MASK
)
|
PS_SOLID
;
}
else
if
((
style
&
PS_TYPE_MASK
)
==
PS_GEOMETRIC
)
{
UINT
i
;
BOOL
has_neg
=
FALSE
,
all_zero
=
TRUE
;
...
...
dlls/gdi32/tests/pen.c
View file @
7a4349bb
...
...
@@ -311,12 +311,6 @@ static void test_logpen(void)
break
;
}
if
(
pen
[
i
].
style
==
PS_USERSTYLE
)
{
todo_wine
ok
(
ext_pen
.
elp
.
elpPenStyle
==
pen
[
i
].
style
,
"expected %x, got %x
\n
"
,
pen
[
i
].
style
,
ext_pen
.
elp
.
elpPenStyle
);
}
else
ok
(
ext_pen
.
elp
.
elpPenStyle
==
pen
[
i
].
style
,
"expected %x, got %x
\n
"
,
pen
[
i
].
style
,
ext_pen
.
elp
.
elpPenStyle
);
ok
(
ext_pen
.
elp
.
elpWidth
==
1
,
"expected 1, got %x
\n
"
,
ext_pen
.
elp
.
elpWidth
);
ok
(
ext_pen
.
elp
.
elpColor
==
pen
[
i
].
ret_color
,
"expected %08x, got %08x
\n
"
,
pen
[
i
].
ret_color
,
ext_pen
.
elp
.
elpColor
);
...
...
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