The mode class describes a display mode with a specific width, height and pixel format.
Mode objects are typically used with Console::modes() and Console::open()(const char title[],const Mode &mode,int pages).
Default constructor.
The display mode object created by the default constructor is an invalid mode.
See Mode::valid() for details.
Creates a display mode object of dimensions width x height pixels and a pixel format of format.
Copy constructor.
Destructor.
Tests whether the mode is valid.
A display mode is invalid when it was created by the default constructor.
Typically this function is used to check for the invalid display mode that terminates the console mode list.
See BaseConsole::modes() for more information.
Gets the width of the display mode in pixels.
Gets the height of the display mode in pixels.
Gets the pixel format of the display mode.
Assignment operator.
Equality operator.
Inequality operator.