OpenTTD Source  20240919-master-gdf0233f4c2
IConsoleLine Struct Reference

Container for a single line of console output. More...

Public Member Functions

 IConsoleLine (std::string buffer, TextColour colour)
 Initialize the console line. More...
 

Data Fields

std::string buffer
 The data to store.
 
TextColour colour
 The colour of the line.
 
uint16_t time
 The amount of time the line is in the backlog.
 

Detailed Description

Container for a single line of console output.

Definition at line 41 of file console_gui.cpp.

Constructor & Destructor Documentation

◆ IConsoleLine()

IConsoleLine::IConsoleLine ( std::string  buffer,
TextColour  colour 
)
inline

Initialize the console line.

Parameters
bufferthe data to print.
colourthe colour of the line.

Definition at line 56 of file console_gui.cpp.


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