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

gdi32: Use NtGdiCreateHatchBrush for CreateHatchBrush.

parent bd3f8780
......@@ -190,15 +190,15 @@ HBRUSH create_brush( const LOGBRUSH *brush )
/***********************************************************************
* CreateHatchBrush (GDI32.@)
* NtGdiCreateHatchBrush (win32u.@)
*
* Create a logical brush with a hatched pattern.
*/
HBRUSH WINAPI CreateHatchBrush( INT style, COLORREF color )
HBRUSH WINAPI NtGdiCreateHatchBrush( INT style, COLORREF color, BOOL pen )
{
LOGBRUSH logbrush;
TRACE("%d %06x\n", style, color );
TRACE( "%d %06x\n", style, color );
logbrush.lbStyle = BS_HATCHED;
logbrush.lbColor = color;
......
......@@ -433,6 +433,14 @@ HBRUSH WINAPI CreateSolidBrush( COLORREF color )
}
/***********************************************************************
* CreateHatchBrush (GDI32.@)
*/
HBRUSH WINAPI CreateHatchBrush( INT style, COLORREF color )
{
return NtGdiCreateHatchBrush( style, color, FALSE );
}
/***********************************************************************
* CreateBitmapIndirect (GDI32.@)
*/
HBITMAP WINAPI CreateBitmapIndirect( const BITMAP *bmp )
......
......@@ -197,6 +197,7 @@ HFONT WINAPI NtGdiHfontCreate( const ENUMLOGFONTEXDVW *enumex, ULONG unk2, UL
HDC WINAPI NtGdiCreateCompatibleDC( HDC hdc );
HBRUSH WINAPI NtGdiCreateDIBBrush( const void* data, UINT coloruse );
HRGN WINAPI NtGdiCreateEllipticRgn( INT left, INT top, INT right, INT bottom );
HBRUSH WINAPI NtGdiCreateHatchBrush( INT style, COLORREF color, BOOL pen );
HBRUSH WINAPI NtGdiCreatePatternBrushInternal( HBITMAP hbitmap, BOOL pen );
HPEN WINAPI NtGdiCreatePen( INT style, INT width, COLORREF color, HBRUSH brush );
HRGN WINAPI NtGdiCreateRectRgn( INT left, INT top, INT right, INT bottom );
......
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