Alexandre Julliard | 7cbe657 | 1995-01-09 18:21:16 +0000 | [diff] [blame^] | 1 | /* |
| 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 | |
| 12 | #pragma pack(1) |
| 13 | |
| 14 | /* GDI logical brush object */ |
| 15 | typedef struct |
| 16 | { |
| 17 | GDIOBJHDR header; |
| 18 | LOGBRUSH logbrush WINE_PACKED; |
| 19 | } BRUSHOBJ; |
| 20 | |
| 21 | #pragma pack(4) |
| 22 | |
| 23 | extern BOOL BRUSH_Init(void); |
| 24 | extern int BRUSH_GetObject( BRUSHOBJ * brush, int count, LPSTR buffer ); |
| 25 | extern BOOL BRUSH_DeleteObject( HBRUSH hbrush, BRUSHOBJ * brush ); |
| 26 | extern HBRUSH BRUSH_SelectObject( HDC hdc, DC * dc, HBRUSH hbrush, |
| 27 | BRUSHOBJ * brush ); |
| 28 | |
| 29 | #endif /* __WINE_BRUSH_H */ |