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