OpenTTD Source 20260311-master-g511d3794ce
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 237 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 238 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 239 of file gfx_layout.h.

Referenced by Layouter::GetCachedParagraphLayout().


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