Documentation

Display

Namespace

Game window functions.

int Display::GetWidth()

Gets the width of the game's display.

Returns int
int Display::GetHeight()

Gets the height of the game's display.

Returns int
vec2 Display::GetSize()

Gets the size of the game's display.

Returns vec2
void Display::SetSize(int width, int height)

Sets the size of the game's display.

void Display::SetSize(const vec2&in size)

Sets the size of the game's display.

void Display::Activate()

Activates the game window.

void Display::Restore()

Restores the game window from a minimized state.

void Display::Maximize()

Maximizes the game window.

void Display::Minimize()

Minimizes the game window.