1995-01-09 18:21:16 +00:00
|
|
|
/*
|
|
|
|
* GDI brush definitions
|
|
|
|
*
|
|
|
|
* Copyright 1994 Alexandre Julliard
|
2002-03-09 23:29:33 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
1995-01-09 18:21:16 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_BRUSH_H
|
|
|
|
#define __WINE_BRUSH_H
|
|
|
|
|
|
|
|
#include "gdi.h"
|
|
|
|
|
|
|
|
/* GDI logical brush object */
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
GDIOBJHDR header;
|
1999-02-26 11:11:13 +00:00
|
|
|
LOGBRUSH logbrush;
|
1995-01-09 18:21:16 +00:00
|
|
|
} BRUSHOBJ;
|
|
|
|
|
1997-02-02 19:01:52 +00:00
|
|
|
#define NB_HATCH_STYLES 6
|
|
|
|
|
1996-11-02 14:24:07 +00:00
|
|
|
extern INT16 BRUSH_GetObject16( BRUSHOBJ * brush, INT16 count, LPSTR buffer );
|
1999-02-26 11:11:13 +00:00
|
|
|
extern INT BRUSH_GetObject( BRUSHOBJ * brush, INT count, LPSTR buffer );
|
|
|
|
extern BOOL BRUSH_DeleteObject( HBRUSH16 hbrush, BRUSHOBJ * brush );
|
1995-01-09 18:21:16 +00:00
|
|
|
|
|
|
|
#endif /* __WINE_BRUSH_H */
|