27#include "GraphicsApi.h"
32#ifndef DOXYGEN_SHOULD_SKIP_THIS
129#ifndef DOXYGEN_SHOULD_SKIP_THIS
A class to represent the library.
Definition: Library.h:44
A monitor.
Definition: Monitor.h:51
Monitor(Monitor &&other)=default
Move constructor.
Monitor & operator=(Monitor &&other)=default
Move assignement.
static std::vector< Monitor > getAvailableMonitors()
Get all the available monitors.
Vector2i getPosition() const
Get the position of the monitor.
std::string getName() const
Get the name of the monitor.
Monitor & operator=(const Monitor &)=delete
Deleted copy assignment.
static Monitor getPrimaryMonitor()
Get the primary monitor.
VideoMode getCurrentVideoMode() const
Get the current video mode.
std::vector< VideoMode > getAvailableVideoModes() const
Get the available video modes for this monitor.
Vector2i getPhysicalSize() const
Get the physical size of the monitor.
Monitor(const Monitor &)=delete
Deleted copy constructor.
An OS window.
Definition: Window.h:97
The namespace for gf classes.
A video mode.
Definition: Monitor.h:41
unsigned bitsPerPixel
Video mode pixel depth, in bits per pixel.
Definition: Monitor.h:43
Vector2i size
Video mode size, in pixels.
Definition: Monitor.h:42
int refreshRate
Video mode refresh rate, in Hz.
Definition: Monitor.h:44