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

Represents a set of pixels in array with size of terminal. More...

#include <Terminal.h>

Public Member Functions

void Resize (const Int2 &size)
 Sets size to given size and resizes array to m_Size.X * m_Size.Y.
 
void Clear ()
 Sets all pixels to black foreground, black background and empty character.
 
void Put (Int2 position, TerminalStyle style, char character)
 Puts UTF-8 character to given size and applies given style.
 
void Put (Int2 position, TerminalStyle style, wchar_t character)
 Puts UTF-16 character to given size and applies given style.
 
Int2 GetSize () const
 Returns size of framebuffer.
 

Friends

class TerminalImpl
 

Detailed Description

Represents a set of pixels in array with size of terminal.

Member Function Documentation

◆ Resize()

void Andromenda::Framebuffer::Resize ( const Int2 & size)

Sets size to given size and resizes array to m_Size.X * m_Size.Y.

Parameters
size

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