|
OpenTTD Source 20251117-master-g7398d2e290
|
Item in the linecache. More...
#include <gfx_layout.h>
Public Types | |
| using | Buffer = std::unique_ptr< void, void(*)(void *)> |
Data Fields | |
| Buffer | buffer {nullptr, [](void *){}} |
| Accessed by our ParagraphLayout::nextLine. | |
| FontMap | runs |
| Accessed by our ParagraphLayout::nextLine. | |
| FontState | state_after |
| Font state after the line. | |
| std::unique_ptr< ParagraphLayouter > | layout = nullptr |
| Layout of the line. | |
| std::vector< std::unique_ptr< const ParagraphLayouter::Line > > | cached_layout {} |
| Cached results of line layouting. | |
| int | cached_width = 0 |
| Width used for the cached layout. | |
Item in the linecache.
Definition at line 189 of file gfx_layout.h.
| using Layouter::LineCacheItem::Buffer = std::unique_ptr<void, void(*)(void *)> |
Definition at line 191 of file gfx_layout.h.
| Buffer Layouter::LineCacheItem::buffer {nullptr, [](void *){}} |
Accessed by our ParagraphLayout::nextLine.
Definition at line 193 of file gfx_layout.h.
Referenced by GetLayouter().
| std::vector<std::unique_ptr<const ParagraphLayouter::Line> > Layouter::LineCacheItem::cached_layout {} |
Cached results of line layouting.
Definition at line 199 of file gfx_layout.h.
Referenced by Layouter::Layouter().
| int Layouter::LineCacheItem::cached_width = 0 |
Width used for the cached layout.
Definition at line 200 of file gfx_layout.h.
Referenced by Layouter::Layouter().
| std::unique_ptr<ParagraphLayouter> Layouter::LineCacheItem::layout = nullptr |
Layout of the line.
Definition at line 197 of file gfx_layout.h.
Referenced by GetLayouter(), and Layouter::Layouter().
| FontMap Layouter::LineCacheItem::runs |
Accessed by our ParagraphLayout::nextLine.
Definition at line 194 of file gfx_layout.h.
Referenced by GetLayouter().
| FontState Layouter::LineCacheItem::state_after |
Font state after the line.
Definition at line 196 of file gfx_layout.h.
Referenced by GetLayouter(), and Layouter::Layouter().