32 #ifndef DOXYGEN_SHOULD_SKIP_THIS 123 explicit Monitor(
int index);
129 #ifndef DOXYGEN_SHOULD_SKIP_THIS Vector2i getPosition() const
Get the position of the monitor.
int refreshRate
Video mode refresh rate, in Hz.
Definition: Monitor.h:44
Vector2u getPhysicalSize() const
Get the physical size of the monitor.
friend class RenderTarget
Definition: Shader.h:388
A video mode.
Definition: Monitor.h:41
VideoMode getCurrentVideoMode() const
Get the current video mode.
Monitor(const Monitor &)=delete
Deleted copy constructor.
std::vector< VideoMode > getAvailableVideoModes() const
Get the available video modes for this monitor.
static Monitor getPrimaryMonitor()
Get the primary monitor.
Monitor & operator=(Monitor &&other)=default
Move assignement.
The namespace for gf classes.
Definition: Action.h:34
A class to represent the library.
Definition: Library.h:44
A monitor.
Definition: Monitor.h:51
static std::vector< Monitor > getAvailableMonitors()
Get all the available monitors.
unsigned bitsPerPixel
Video mode pixel depth, in bits per pixel.
Definition: Monitor.h:43
#define GF_API
Definition: Portability.h:35
Monitor(Monitor &&other)=default
Move constructor.
Vector2u size
Video mode size, in pixels.
Definition: Monitor.h:42
std::string getName() const
Get the name of the monitor.
Monitor & operator=(const Monitor &)=delete
Deleted copy assignment.