Commit bd3f8780 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdi32: Use NtGdiCreateSolidBrush for CreateSolidBrush.

parent 2c467a2d
......@@ -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;
......
......@@ -425,6 +425,14 @@ HBRUSH WINAPI CreateBrushIndirect( const LOGBRUSH *brush )
}
/***********************************************************************
* CreateSolidBrush (GDI32.@)
*/
HBRUSH WINAPI CreateSolidBrush( COLORREF color )
{
return NtGdiCreateSolidBrush( color, NULL );
}
/***********************************************************************
* CreateBitmapIndirect (GDI32.@)
*/
HBITMAP WINAPI CreateBitmapIndirect( const BITMAP *bmp )
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment