OpenTTD Source 20241224-master-gf74b0cf984
|
Public Member Functions | |
Line (int top, std::string_view text) | |
Data Fields | |
int | top = 0 |
Top scroll position in visual lines. | |
int | bottom = 0 |
Bottom scroll position in visual lines. | |
std::string | text {} |
Contents of the line. | |
TextColour | colour = TC_WHITE |
Colour to render text line in. | |
Definition at line 46 of file textfile_gui.h.
|
inline |
Definition at line 52 of file textfile_gui.h.
|
inline |
Definition at line 53 of file textfile_gui.h.
int TextfileWindow::Line::bottom = 0 |
Bottom scroll position in visual lines.
Definition at line 48 of file textfile_gui.h.
Referenced by TextfileWindow::CheckHyperlinkClick().
TextColour TextfileWindow::Line::colour = TC_WHITE |
Colour to render text line in.
Definition at line 50 of file textfile_gui.h.
std::string TextfileWindow::Line::text {} |
Contents of the line.
Definition at line 49 of file textfile_gui.h.
Referenced by GameManualTextfileWindow::AfterLoadChangelog(), TextfileWindow::AfterLoadMarkdown(), and TextfileWindow::FindHyperlinksInMarkdown().
int TextfileWindow::Line::top = 0 |
Top scroll position in visual lines.
Definition at line 47 of file textfile_gui.h.
Referenced by TextfileWindow::CheckHyperlinkClick().