Use the approriate command for combining .o files.
[wine/multimedia.git] / include / color.h
blob3c85e1ea2d5776b6faa864e983a90b8a560b3302
1 #ifndef __WINE_COLOR_H
2 #define __WINE_COLOR_H
4 #include "windef.h"
5 #include "wingdi.h"
6 #include "palette.h"
8 #define PC_SYS_USED 0x80 /* palentry is used (both system and logical) */
9 #define PC_SYS_RESERVED 0x40 /* system palentry is not to be mapped to */
10 #define PC_SYS_MAPPED 0x10 /* logical palentry is a direct alias for system palentry */
12 extern BOOL COLOR_IsSolid(COLORREF color);
14 extern COLORREF COLOR_GetSystemPaletteEntry(UINT);
15 extern const PALETTEENTRY *COLOR_GetSystemPaletteTemplate(void);
17 extern COLORREF COLOR_LookupNearestColor(PALETTEENTRY *, int, COLORREF);
18 extern int COLOR_PaletteLookupExactIndex(PALETTEENTRY *palPalEntry, int size, COLORREF col);
19 extern int COLOR_PaletteLookupPixel(PALETTEENTRY *, int, int * , COLORREF, BOOL);
21 #endif /* __WINE_COLOR_H */