Mountain  1.0.0
Simple C++ 2D Game Framework
Mountain::Screen Class Reference

Represents a screen/monitor. More...

#include <screen.hpp>

Static Public Member Functions

static Vector2i GetPosition (int32_t screenIndex=-1)
 Gets the position of the given screen. More...
 
static Vector2i GetSize (int32_t screenIndex=-1)
 Gets the size of the given screen. More...
 
static int32_t GetRefreshRate (int32_t screenIndex=-1)
 Gets the refresh rate of the given screen. More...
 

Friends

class Window
 

Detailed Description

Represents a screen/monitor.

Definition at line 18 of file screen.hpp.

Member Function Documentation

◆ GetPosition()

static Vector2i Mountain::Screen::GetPosition ( int32_t  screenIndex = -1)
static

Gets the position of the given screen.

Remarks
If given a negative screen index, will default to Window::GetCurrentScreen().

◆ GetRefreshRate()

static int32_t Mountain::Screen::GetRefreshRate ( int32_t  screenIndex = -1)
static

Gets the refresh rate of the given screen.

Remarks
If given a negative screen index, will default to Window::GetCurrentScreen().

◆ GetSize()

static Vector2i Mountain::Screen::GetSize ( int32_t  screenIndex = -1)
static

Gets the size of the given screen.

Remarks
If given a negative screen index, will default to Window::GetCurrentScreen().

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