mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Use colour_t for colours enum
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "../common.h"
|
||||
#include "../interface/Colour.h"
|
||||
#include "Font.h"
|
||||
|
||||
struct ScreenCoordsXY;
|
||||
@@ -31,7 +32,7 @@ enum class TextUnderline
|
||||
|
||||
struct TextPaint
|
||||
{
|
||||
uint8_t Colour = 0;
|
||||
colour_t Colour = COLOUR_BLACK;
|
||||
FontSpriteBase SpriteBase = FontSpriteBase::SMALL;
|
||||
TextUnderline UnderlineText = TextUnderline::Off;
|
||||
TextAlignment Alignment = TextAlignment::LEFT;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/**
|
||||
* Colour IDs as used by the colour dropdown, NOT palette indices.
|
||||
*/
|
||||
enum
|
||||
enum : colour_t
|
||||
{
|
||||
COLOUR_BLACK,
|
||||
COLOUR_GREY,
|
||||
|
||||
Reference in New Issue
Block a user