OpenTTD Source  20240919-master-gdf0233f4c2
TextfileWindow::Line Struct Reference

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.
 

Detailed Description

Definition at line 46 of file textfile_gui.h.


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