GigaPasjans
Loading...
Searching...
No Matches
Andromenda::TerminalImpl Class Reference

Platform-specific terminal functions implemented per platform. More...

#include <Terminal.h>

Static Public Member Functions

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.
 

Detailed Description

Platform-specific terminal functions implemented per platform.

Member Function Documentation

◆ 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
message

The documentation for this class was generated from the following files: