Gamedev Framework (gf)
0.3.0
A C++11 framework for 2D games
|
A monitor. More...
#include <gf/Monitor.h>
Public Member Functions | |
Monitor (const Monitor &)=delete | |
Deleted copy constructor. More... | |
Monitor & | operator= (const Monitor &)=delete |
Deleted copy assignment. More... | |
Monitor (Monitor &&other)=default | |
Move constructor. More... | |
Monitor & | operator= (Monitor &&other)=default |
Move assignement. More... | |
std::string | getName () |
Get the name of the monitor. More... | |
Vector2i | getPosition () |
Get the position of the monitor. More... | |
Vector2u | getPhysicalSize () |
Get the physical size of the monitor. More... | |
std::vector< VideoMode > | getAvailableVideoModes () |
Get the available video modes for this monitor. More... | |
VideoMode | getCurrentVideoMode () |
Get the current video mode. More... | |
Static Public Member Functions | |
static Monitor | getPrimaryMonitor () |
Get the primary monitor. More... | |
static std::vector< Monitor > | getAvailableMonitors () |
Get all the available monitors. More... | |
A monitor.
|
delete |
Deleted copy constructor.
|
default |
Move constructor.
|
static |
Get all the available monitors.
std::vector<VideoMode> gf::Monitor::getAvailableVideoModes | ( | ) |
Get the available video modes for this monitor.
VideoMode gf::Monitor::getCurrentVideoMode | ( | ) |
Get the current video mode.
std::string gf::Monitor::getName | ( | ) |
Get the name of the monitor.
Vector2u gf::Monitor::getPhysicalSize | ( | ) |
Get the physical size of the monitor.
Vector2i gf::Monitor::getPosition | ( | ) |
Get the position of the monitor.
|
static |
Get the primary monitor.