mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 14:58:32 +00:00
gdi32: Use NtGdiCreateSolidBrush for CreateSolidBrush.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2c467a2d1e
commit
bd3f878021
|
@ -268,11 +268,11 @@ HBRUSH WINAPI CreateDIBPatternBrushPt( const void* data, UINT coloruse )
|
|||
|
||||
|
||||
/***********************************************************************
|
||||
* CreateSolidBrush (GDI32.@)
|
||||
* NtGdiCreateSolidBrush (win32u.@)
|
||||
*
|
||||
* Create a logical brush consisting of a single colour.
|
||||
*/
|
||||
HBRUSH WINAPI CreateSolidBrush( COLORREF color )
|
||||
HBRUSH WINAPI NtGdiCreateSolidBrush( COLORREF color, HBRUSH brush )
|
||||
{
|
||||
LOGBRUSH logbrush;
|
||||
|
||||
|
|
|
@ -424,6 +424,14 @@ HBRUSH WINAPI CreateBrushIndirect( const LOGBRUSH *brush )
|
|||
}
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* CreateSolidBrush (GDI32.@)
|
||||
*/
|
||||
HBRUSH WINAPI CreateSolidBrush( COLORREF color )
|
||||
{
|
||||
return NtGdiCreateSolidBrush( color, NULL );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* CreateBitmapIndirect (GDI32.@)
|
||||
*/
|
||||
|
|
|
@ -202,7 +202,7 @@ HPEN WINAPI NtGdiCreatePen( INT style, INT width, COLORREF color, HBRUSH bru
|
|||
HRGN WINAPI NtGdiCreateRectRgn( INT left, INT top, INT right, INT bottom );
|
||||
HRGN WINAPI NtGdiCreateRoundRectRgn( INT left, INT top, INT right, INT bottom,
|
||||
INT ellipse_width, INT ellipse_height );
|
||||
HBRUSH WINAPI NtGdiCreateSolidBrush( COLORREF color );
|
||||
HBRUSH WINAPI NtGdiCreateSolidBrush( COLORREF color, HBRUSH brush );
|
||||
BOOL WINAPI NtGdiDeleteClientObj( HGDIOBJ obj );
|
||||
BOOL WINAPI NtGdiDeleteObjectApp( HGDIOBJ obj );
|
||||
LONG WINAPI NtGdiDoPalette( HGDIOBJ handle, WORD start, WORD count, void *entries,
|
||||
|
|
Loading…
Reference in a new issue