OpenTTD Source: IConsoleLine Struct Reference

OpenTTD Source 13.2.1

Public Member Functions | Data Fields
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 | time
| The amount of time the line is in the backlog.

## Detailed Description

Container for a single line of console output.

Definition at line 40 of file console_gui.cpp.

## Constructor & Destructor Documentation

## ◆ IConsoleLine()

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

Initialize the console line.

Parameters

  buffer | the data to print.
  colour | the colour of the line.

Definition at line 55 of file console_gui.cpp.

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

- src/console_gui.cpp