Rewrite of configuration system to support "regular" curses as well as
[wine/multimedia.git] / include / palette.h
blobc90842a54d35a5fe0941616d795ac78739100ca0
1 /*
2 * GDI palette definitions
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef __WINE_PALETTE_H
8 #define __WINE_PALETTE_H
10 #include "gdi.h"
12 #define NB_RESERVED_COLORS 20 /* number of fixed colors in system palette */
14 /* GDI logical palette object */
15 typedef struct
17 GDIOBJHDR header;
18 int *mapping;
19 LOGPALETTE logpalette; /* _MUST_ be the last field */
20 } PALETTEOBJ;
22 extern HPALETTE16 PALETTE_Init(void);
23 extern int PALETTE_GetObject( PALETTEOBJ * palette, int count, LPSTR buffer );
24 extern BOOL32 PALETTE_DeleteObject( HPALETTE16 hpalette, PALETTEOBJ *palette );
25 extern BOOL32 PALETTE_UnrealizeObject( HPALETTE16 hpalette, PALETTEOBJ *palette);
27 #endif /* __WINE_PALETTE_H */