mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Added missing palette.h
svn path=/trunk/; revision=3562
This commit is contained in:
parent
bf2d96d820
commit
559919d821
1 changed files with 25 additions and 0 deletions
25
reactos/subsys/win32k/include/palette.h
Normal file
25
reactos/subsys/win32k/include/palette.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#ifndef __WIN32K_PALETTE_H
|
||||
#define __WIN32K_PALETTE_H
|
||||
|
||||
#define PALETTE_FIXED 0x0001 /* read-only colormap - have to use XAllocColor (if not virtual) */
|
||||
#define PALETTE_VIRTUAL 0x0002 /* no mapping needed - pixel == pixel color */
|
||||
|
||||
#define PALETTE_PRIVATE 0x1000 /* private colormap, identity mapping */
|
||||
#define PALETTE_WHITESET 0x2000
|
||||
|
||||
typedef struct {
|
||||
int shift;
|
||||
int scale;
|
||||
int max;
|
||||
} ColorShifts;
|
||||
|
||||
static ColorShifts PALETTE_PRed = {0,0,0};
|
||||
static ColorShifts PALETTE_LRed = {0,0,0};
|
||||
static ColorShifts PALETTE_PGreen = {0,0,0};
|
||||
static ColorShifts PALETTE_LGreen = {0,0,0};
|
||||
static ColorShifts PALETTE_PBlue = {0,0,0};
|
||||
static ColorShifts PALETTE_LBlue = {0,0,0};
|
||||
static int PALETTE_Graymax = 0;
|
||||
static int palette_size;
|
||||
|
||||
#endif /* __WIN32K_PALETTE_H */
|
Loading…
Reference in a new issue