Add palette mode flags.

svn path=/trunk/; revision=30951
This commit is contained in:
James Tabor 2007-12-02 03:08:00 +00:00
parent de21070985
commit 35fcb63351

View file

@ -9,6 +9,28 @@
#define PALETTE_PRIVATE 0x1000 /* private colormap, identity mapping */
#define PALETTE_WHITESET 0x2000
// Palette mode flags
#if 0 // Defined in ddk/winddi.h
#define PAL_INDEXED 0x00000001
#define PAL_BITFIELDS 0x00000002
#define PAL_RGB 0x00000004
#define PAL_BGR 0x00000008
#define PAL_CMYK 0x00000010
#endif
#define PAL_DC 0x00000100
#define PAL_FIXED 0x00000200
#define PAL_FREE 0x00000400
#define PAL_MANAGED 0x00000800
#define PAL_NOSTATIC 0x00001000
#define PAL_MONOCHROME 0x00002000
#define PAL_BRUSHHACK 0x00004000
#define PAL_DIBSECTION 0x00008000
#define PAL_NOSTATIC256 0x00010000
#define PAL_HT 0x00100000
#define PAL_RGB16_555 0x00200000
#define PAL_RGB16_565 0x00400000
#define PAL_GAMMACORRECTION 0x00800000
typedef struct {
int shift;
int scale;