25#ifndef SFML_VIDEOMODE_HPP
26#define SFML_VIDEOMODE_HPP
31#include <SFML/Config.hpp>
60 VideoMode(
unsigned int ModeWidth,
unsigned int ModeHeight,
unsigned int ModeBpp = 32);
106 bool operator ==(
const VideoMode& Other)
const;
116 bool operator !=(
const VideoMode& Other)
const;
130 static void InitializeModes();
VideoMode()
Default constructor.
static VideoMode GetDesktopMode()
Get the current desktop video mode.
static std::size_t GetModesCount()
Get valid video modes count.
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.
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.