#include <message_log.h>
Public Member Functions | |
| void | clear () |
| void | print (const char *text) |
| void | putChar (char ch) |
| void | backspace (int count) |
| void | draw (Graphics::Views::GfxSurface &s, bool showCursor) const |
The scrolling message window at the bottom right of the game screen: seven lines of sixteen characters, with text always added to the bottom line
| void Ultima::Ultima3::Gfx::MessageLog::clear | ( | ) |
Clears the window
| void Ultima::Ultima3::Gfx::MessageLog::print | ( | const char * | text | ) |
Adds text at the cursor. A newline scrolls the window up, as does running off the end of the bottom line
| void Ultima::Ultima3::Gfx::MessageLog::putChar | ( | char | ch | ) |
Adds a single character (including the glyphs used for prompts) at the cursor without wrapping
| void Ultima::Ultima3::Gfx::MessageLog::backspace | ( | int | count | ) |
Takes back the last characters added to the bottom line
| void Ultima::Ultima3::Gfx::MessageLog::draw | ( | Graphics::Views::GfxSurface & | s, |
| bool | showCursor | ||
| ) | const |
Draws the window, with the cursor arrow shown if waiting for input