|
Etterna 0.75.1
|
The dimensions of the program. More...
#include <DisplaySpec.h>
Public Member Functions | |
| DisplaySpec (std::string id, std::string name, const std::set< DisplayMode > &modes, const DisplayMode &curMode, const RectI &curBounds, const bool isVirtual=false) | |
| DisplaySpec (const std::string &id, const std::string &name, const std::set< DisplayMode > &modes, const bool isVirtual=false) | |
| DisplaySpec (std::string id, std::string name, DisplayMode mode) | |
| DisplaySpec (const DisplaySpec &other)=default | |
| auto | name () const -> std::string |
| auto | id () const -> std::string |
| auto | supportedModes () const -> const std::set< DisplayMode > & |
| auto | currentMode () const -> const DisplayMode * |
| auto | currentBounds () const -> const RectI & |
| auto | isVirtual () const -> bool |
| auto | operator< (const DisplaySpec &other) const -> bool |
| Determine if one DisplaySpec compares less than the other. | |
| void | PushSelf (lua_State *L) |
The dimensions of the program.
|
inline |
Determine if one DisplaySpec compares less than the other.
Used to enforce a consistent ordering of displays, e.g. for consistent option presentation. Also allows DisplaySpec to be placed in a std::set
| other | the other DisplaySpec to check. |