OpenTTD Source 20250511-master-gf2b48bad79
Layouter::LineCacheKey Struct Reference

Key into the linecache. More...

Data Fields

FontState state_before
 Font state at the beginning of the line.
 
std::string str
 Source string of the line (including colour and font size codes).
 

Detailed Description

Key into the linecache.

Definition at line 164 of file gfx_layout.h.

Field Documentation

◆ state_before

FontState Layouter::LineCacheKey::state_before

Font state at the beginning of the line.

Definition at line 165 of file gfx_layout.h.

Referenced by Layouter::GetCachedParagraphLayout().

◆ str

std::string Layouter::LineCacheKey::str

Source string of the line (including colour and font size codes).

Definition at line 166 of file gfx_layout.h.

Referenced by Layouter::GetCachedParagraphLayout().


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