OpenTTD Source: Layouter::LineCacheQuery Struct Reference

OpenTTD Source 15.3

Data Fields
Layouter::LineCacheQuery Struct Reference

## Data Fields
const FontState & | state_before
| Font state at the beginning of the line.
std::string_view | str
| Source string of the line (including colour and font size codes).

## Detailed Description

Definition at line 169 of file gfx_layout.h.

## Field Documentation

## ◆ state_before

const FontState& Layouter::LineCacheQuery::state_before

Font state at the beginning of the line.

Definition at line 170 of file gfx_layout.h.

## ◆ str

std::string_view Layouter::LineCacheQuery::str

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

Definition at line 171 of file gfx_layout.h.

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

- src/gfx_layout.h