supertux
|
Public Member Functions | |
void | addLines (const std::string &s) |
display a string of (potentially) multiple lines in the console | |
void | addLine (const std::string &s) |
display a line in the console | |
void | flush (ConsoleStreamBuffer &buffer) |
act upon changes in a ConsoleStreamBuffer | |
void | set_console (Console *console) |
Public Attributes | |
std::list< std::string > | m_lines |
backbuffer of lines sent to the console. More... | |
Console * | m_console |
Static Public Attributes | |
static std::ostream | output |
stream of characters to output to the console. More... | |
static ConsoleStreamBuffer | s_outputBuffer |
stream buffer used by output stream | |
Additional Inherited Members | |
![]() | |
static ConsoleBuffer * | current () |
std::list<std::string> ConsoleBuffer::m_lines |
backbuffer of lines sent to the console.
New lines get added to front.
|
static |
stream of characters to output to the console.
Do not forget to send std::endl or to flush the stream.