OpenTTD Source 20260525-master-g39d4fe24a0
std::hash< ExtendedTextColour > Struct Reference

Instantiation of a hash for an ExtendedTextColour. More...

#include <gfx_layout.h>

Public Member Functions

std::size_t operator() (const ExtendedTextColour &tc) const noexcept
 Hash the text colour.

Detailed Description

Instantiation of a hash for an ExtendedTextColour.

Definition at line 91 of file gfx_layout.h.

Member Function Documentation

◆ operator()()

std::size_t std::hash< ExtendedTextColour >::operator() ( const ExtendedTextColour & tc) const
inlinenoexcept

Hash the text colour.

Parameters
tcThe colour to hash.
Returns
The hashed value.

Definition at line 97 of file gfx_layout.h.


The documentation for this struct was generated from the following file: