OpenTTD Source 20250602-master-g6d0dd90e20
|
Public Member Functions | |
Line (std::string_view text) | |
Data Fields | |
int | num_lines = 1 |
Number of visual lines for this line. | |
int | wrapped_width = 0 |
int | max_width = -1 |
TextColour | colour = TC_WHITE |
Colour to render text line in. | |
std::string | text {} |
Contents of the line. | |
Definition at line 52 of file textfile_gui.h.
|
inline |
Definition at line 59 of file textfile_gui.h.
|
inline |
Definition at line 60 of file textfile_gui.h.
TextColour TextfileWindow::Line::colour = TC_WHITE |
Colour to render text line in.
Definition at line 56 of file textfile_gui.h.
int TextfileWindow::Line::max_width = -1 |
Definition at line 55 of file textfile_gui.h.
int TextfileWindow::Line::num_lines = 1 |
Number of visual lines for this line.
Definition at line 53 of file textfile_gui.h.
Referenced by TextfileWindow::GetHyperlink().
std::string TextfileWindow::Line::text {} |
Contents of the line.
Definition at line 57 of file textfile_gui.h.
Referenced by GameManualTextfileWindow::AfterLoadChangelog(), TextfileWindow::AfterLoadMarkdown(), TextfileWindow::FindHyperlinksInMarkdown(), and TextfileWindow::GetHyperlink().
int TextfileWindow::Line::wrapped_width = 0 |
Definition at line 54 of file textfile_gui.h.