25#ifndef SFML_VIDEOMODE_HPP
26#define SFML_VIDEOMODE_HPP
60 VideoMode(
unsigned int ModeWidth,
unsigned int ModeHeight,
unsigned int ModeBpp = 32);
130 static void InitializeModes();
VideoMode()
Default constructor.
static VideoMode GetMode(std::size_t Index)
Get a valid video mode Index must be in range [0, GetModesCount()[ Modes are sorted from best to wors...
bool IsValid() const
Tell whether or not the video mode is supported.
static std::size_t GetModesCount()
Get valid video modes count.
VideoMode(unsigned int ModeWidth, unsigned int ModeHeight, unsigned int ModeBpp=32)
Construct the video mode with its attributes.
unsigned int Width
Video mode width, in pixels.
unsigned int BitsPerPixel
Video mode pixel depth, in bits per pixels.
unsigned int Height
Video mode height, in pixels.
static VideoMode GetDesktopMode()
Get the current desktop video mode.