1
0
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:
Gymnasiast
2021-02-27 12:49:14 +01:00
parent 2477933c51
commit c296c35f39
2 changed files with 3 additions and 2 deletions

View File

@@ -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;

View File

@@ -17,7 +17,7 @@
/**
* Colour IDs as used by the colour dropdown, NOT palette indices.
*/
enum
enum : colour_t
{
COLOUR_BLACK,
COLOUR_GREY,