OpenTTD Source 20260218-master-g2123fca5ea
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 234 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 235 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 236 of file gfx_layout.h.

Referenced by Layouter::GetCachedParagraphLayout().


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