include: Move PaletteFlags definition to gdipluspixelformats.h.
This commit is contained in:
parent
af8721f41b
commit
6d3154ab83
|
@ -299,13 +299,6 @@ enum HotkeyPrefix
|
|||
HotkeyPrefixHide = 2
|
||||
};
|
||||
|
||||
enum PaletteFlags
|
||||
{
|
||||
PaletteFlagsHasAlpha = 1,
|
||||
PaletteFlagsGrayScale = 2,
|
||||
PaletteFlagsHalftone = 4
|
||||
};
|
||||
|
||||
enum ImageCodecFlags
|
||||
{
|
||||
ImageCodecFlagsEncoder = 1,
|
||||
|
|
|
@ -74,6 +74,13 @@ static inline UINT GetPixelFormatSize(PixelFormat format)
|
|||
return (format >> 8) & 0xff;
|
||||
}
|
||||
|
||||
enum PaletteFlags
|
||||
{
|
||||
PaletteFlagsHasAlpha = 1,
|
||||
PaletteFlagsGrayScale = 2,
|
||||
PaletteFlagsHalftone = 4
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
struct ColorPalette
|
||||
|
|
Loading…
Reference in New Issue