blob: c548dbec49f428afcbc442222227885ec8e364d4 [file] [log] [blame]
Alexandre Julliard7cbe6571995-01-09 18:21:16 +00001/*
2 * GDI brush definitions
3 *
4 * Copyright 1994 Alexandre Julliard
5 */
6
7#ifndef __WINE_BRUSH_H
8#define __WINE_BRUSH_H
9
10#include "gdi.h"
11
Alexandre Julliardb67b1dc1995-02-16 16:47:09 +000012#ifndef WINELIB
Alexandre Julliard7cbe6571995-01-09 18:21:16 +000013#pragma pack(1)
Alexandre Julliardb67b1dc1995-02-16 16:47:09 +000014#endif
Alexandre Julliard7cbe6571995-01-09 18:21:16 +000015
16 /* GDI logical brush object */
17typedef struct
18{
19 GDIOBJHDR header;
20 LOGBRUSH logbrush WINE_PACKED;
21} BRUSHOBJ;
22
Alexandre Julliardb67b1dc1995-02-16 16:47:09 +000023#ifndef WINELIB
Alexandre Julliard7cbe6571995-01-09 18:21:16 +000024#pragma pack(4)
Alexandre Julliardb67b1dc1995-02-16 16:47:09 +000025#endif
Alexandre Julliard7cbe6571995-01-09 18:21:16 +000026
27extern BOOL BRUSH_Init(void);
28extern int BRUSH_GetObject( BRUSHOBJ * brush, int count, LPSTR buffer );
29extern BOOL BRUSH_DeleteObject( HBRUSH hbrush, BRUSHOBJ * brush );
30extern HBRUSH BRUSH_SelectObject( HDC hdc, DC * dc, HBRUSH hbrush,
31 BRUSHOBJ * brush );
32
33#endif /* __WINE_BRUSH_H */