OpenTTD Source: src/table/string_colours.h File Reference

OpenTTD Source 15.0-RC2

Variables
string_colours.h File Reference

The colour translation of GRF's strings. More...

Go to the source code of this file.

## Variables
static constexpr PixelColour | _string_colourmap [17]
| Colour mapping for TextColour.

## Detailed Description

The colour translation of GRF's strings.

Definition in file string_colours.h.

## Variable Documentation

## ◆ _string_colourmap

constexpr PixelColour _string_colourmap[17]
| staticconstexpr

Initial value:
= {
PixelColour{150},
PixelColour{ 12},
PixelColour{189},
PixelColour{184},
PixelColour{174},
PixelColour{ 30},
PixelColour{195},
PixelColour{209},
PixelColour{ 68},
PixelColour{ 95},
PixelColour{ 79},
PixelColour{116},
PixelColour{ 15},
PixelColour{152},
PixelColour{ 6},
PixelColour{133},
PixelColour{ 1},
}
PixelColour
Colour for pixel/line drawing.
Definition gfx_type.h:405

Colour mapping for TextColour.

Definition at line 11 of file string_colours.h.

Referenced by Window::DrawWidgets(), SetColourRemap(), and ViewportDrawDirtyBlocks().