OpenTTD Source 20241224-master-gee860a5c8e
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 142 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 143 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 144 of file gfx_layout.h.

Referenced by Layouter::GetCachedParagraphLayout().


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