32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
123 explicit Monitor(
int index);
129 #ifndef DOXYGEN_SHOULD_SKIP_THIS
Vector2i getPosition()
Get the position of the monitor.
int refreshRate
Video mode refresh rate, in Hz.
Definition: Monitor.h:44
std::vector< VideoMode > getAvailableVideoModes()
Get the available video modes for this monitor.
friend class RenderTarget
Definition: Shader.h:387
A video mode.
Definition: Monitor.h:41
Monitor(const Monitor &)=delete
Deleted copy constructor.
static Monitor getPrimaryMonitor()
Get the primary monitor.
Monitor & operator=(Monitor &&other)=default
Move assignement.
A class to represent the library.
Definition: Library.h:42
VideoMode getCurrentVideoMode()
Get the current video mode.
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
std::string getName()
Get the name of the monitor.
Monitor(Monitor &&other)=default
Move constructor.
Vector2u size
Video mode size, in pixels.
Definition: Monitor.h:42
Monitor & operator=(const Monitor &)=delete
Deleted copy assignment.
Vector2u getPhysicalSize()
Get the physical size of the monitor.