diff options
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r-- | src/gfx_type.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h index 20b5019a0..835015a8b 100644 --- a/src/gfx_type.h +++ b/src/gfx_type.h @@ -206,7 +206,10 @@ enum TextColour { TC_DARK_BLUE = 0x0F, TC_BLACK = 0x10, TC_INVALID = 0xFF, + + IS_PALETTE_COLOR = 0x100, ///< colour value is already a real palette colour index, not an index of a StringColour }; +DECLARE_ENUM_AS_BIT_SET(TextColour); /** Defines a few values that are related to animations using palette changes */ enum PaletteAnimationSizes { @@ -215,10 +218,6 @@ enum PaletteAnimationSizes { PALETTE_ANIM_SIZE_START = 217, ///< Index in the _palettes array from which all animations are taking places (table/palettes.h) }; -enum StringColorFlags { - IS_PALETTE_COLOR = 0x100, ///< color value is already a real palette color index, not an index of a StringColor -}; - /** Define the operation GfxFillRect performs */ enum FillRectMode { FILLRECT_OPAQUE, ///< Fill rectangle with a single color |