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
06e09f67
Commit
06e09f67
authored
Nov 17, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Disable SetSolidBrush16 since it requires access to gdi32 internals.
parent
d9700b6a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
27 deletions
+2
-27
brush.c
dlls/gdi32/brush.c
+0
-21
gdi16.c
dlls/gdi32/gdi16.c
+2
-3
gdi_private.h
dlls/gdi32/gdi_private.h
+0
-3
No files found.
dlls/gdi32/brush.c
View file @
06e09f67
...
...
@@ -447,24 +447,3 @@ static INT BRUSH_GetObject( HGDIOBJ handle, INT count, LPVOID buffer )
GDI_ReleaseObj
(
handle
);
return
count
;
}
/***********************************************************************
* BRUSH_SetSolid
*/
BOOL
BRUSH_SetSolid
(
HGDIOBJ
handle
,
COLORREF
new_color
)
{
BRUSHOBJ
*
brushPtr
;
BOOL
res
=
FALSE
;
if
(
!
(
brushPtr
=
GDI_GetObjPtr
(
handle
,
OBJ_BRUSH
)))
return
FALSE
;
if
(
brushPtr
->
logbrush
.
lbStyle
==
BS_SOLID
)
{
brushPtr
->
logbrush
.
lbColor
=
new_color
;
res
=
TRUE
;
}
GDI_ReleaseObj
(
handle
);
return
res
;
}
dlls/gdi32/gdi16.c
View file @
06e09f67
...
...
@@ -3521,9 +3521,8 @@ BOOL16 WINAPI SetLayout16( HDC16 hdc, DWORD layout )
*/
BOOL16
WINAPI
SetSolidBrush16
(
HBRUSH16
hBrush
,
COLORREF
newColor
)
{
TRACE
(
"(hBrush %04x, newColor %08x)
\n
"
,
hBrush
,
newColor
);
return
BRUSH_SetSolid
(
HBRUSH_32
(
hBrush
),
newColor
);
FIXME
(
"%04x %08x no longer supported
\n
"
,
hBrush
,
newColor
);
return
FALSE
;
}
...
...
dlls/gdi32/gdi_private.h
View file @
06e09f67
...
...
@@ -359,9 +359,6 @@ extern HBITMAP BITMAP_CopyBitmap( HBITMAP hbitmap ) DECLSPEC_HIDDEN;
extern
BOOL
BITMAP_SetOwnerDC
(
HBITMAP
hbitmap
,
DC
*
dc
)
DECLSPEC_HIDDEN
;
extern
INT
BITMAP_GetWidthBytes
(
INT
bmWidth
,
INT
bpp
)
DECLSPEC_HIDDEN
;
/* brush.c */
extern
BOOL
BRUSH_SetSolid
(
HGDIOBJ
handle
,
COLORREF
new_color
)
DECLSPEC_HIDDEN
;
/* clipping.c */
extern
void
CLIPPING_UpdateGCRegion
(
DC
*
dc
)
DECLSPEC_HIDDEN
;
...
...
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