OpenTTD Source 20241224-master-gee860a5c8e
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.
 

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() [1/2]

IConsoleLine::IConsoleLine ( )
inline

Definition at line 46 of file console_gui.cpp.

◆ IConsoleLine() [2/2]

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.

◆ ~IConsoleLine()

IConsoleLine::~IConsoleLine ( )
inline

Definition at line 63 of file console_gui.cpp.

Field Documentation

◆ buffer

std::string IConsoleLine::buffer

The data to store.

Definition at line 42 of file console_gui.cpp.

◆ colour

TextColour IConsoleLine::colour

The colour of the line.

Definition at line 43 of file console_gui.cpp.

◆ time

uint16_t IConsoleLine::time

The amount of time the line is in the backlog.

Definition at line 44 of file console_gui.cpp.


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