From 35fcb63351963fb20e30678b0541f49ac4600388 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Sun, 2 Dec 2007 03:08:00 +0000 Subject: [PATCH] Add palette mode flags. svn path=/trunk/; revision=30951 --- .../subsystems/win32/win32k/include/palette.h | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/reactos/subsystems/win32/win32k/include/palette.h b/reactos/subsystems/win32/win32k/include/palette.h index 33100d04443..54694a7473a 100644 --- a/reactos/subsystems/win32/win32k/include/palette.h +++ b/reactos/subsystems/win32/win32k/include/palette.h @@ -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;