Platform-specific terminal functions implemented per platform.
More...
#include <Terminal.h>
|
| static Int2 | GetSize () |
| | Returns size of the terminal. X is total terminal row, y is columns.
|
| |
|
static void | Update (const Int2 &size) |
| | Resizes platform framebuffer to given size.
|
| |
|
static void | Draw (const Int2 &size, Framebuffer &framebuffer) |
| | Puts pixel from framebuffer to the terminal.
|
| |
|
static int32 | Getch () |
| | Returns pressed key. Blocks until any key is pressed.
|
| |
|
static void | ForceSizeUpdate () |
| | Updates size of the terminal.
|
| |
| static void | WriteDebug (const String &message) |
| | Writes message to the attached debugger.
|
| |
|
static void | DestroyBuffers () |
| | Destroys platform framebuffer.
|
| |
Platform-specific terminal functions implemented per platform.
◆ GetSize()
| Int2 Andromenda::TerminalImpl::GetSize |
( |
| ) |
|
|
static |
Returns size of the terminal. X is total terminal row, y is columns.
- Returns
- Int2
◆ WriteDebug()
| void Andromenda::TerminalImpl::WriteDebug |
( |
const String & | message | ) |
|
|
static |
Writes message to the attached debugger.
- Parameters
-
The documentation for this class was generated from the following files:
- andromenda/Terminal.h
- andromenda/Windows/TerminalImpl.cpp