|  | Gamedev Framework (gf)
    0.19.0
    A C++17 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 () const | 
| Get the name of the monitor.  More... | |
| Vector2i | getPosition () const | 
| Get the position of the monitor.  More... | |
| Vector2i | getPhysicalSize () const | 
| Get the physical size of the monitor.  More... | |
| std::vector< VideoMode > | getAvailableVideoModes () const | 
| Get the available video modes for this monitor.  More... | |
| VideoMode | getCurrentVideoMode () const | 
| 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 | ( | ) | const | 
Get the available video modes for this monitor.
| VideoMode gf::Monitor::getCurrentVideoMode | ( | ) | const | 
Get the current video mode.
| std::string gf::Monitor::getName | ( | ) | const | 
Get the name of the monitor.
| Vector2i gf::Monitor::getPhysicalSize | ( | ) | const | 
Get the physical size of the monitor.
| Vector2i gf::Monitor::getPosition | ( | ) | const | 
Get the position of the monitor.
| 
 | static | 
Get the primary monitor.
 1.8.13
 1.8.13