Contains the state info for a resolution. More...
#include <widget_definition.hpp>
Public Member Functions | |
state_definition (const config &cfg) | |
operator const config & () const | |
Allows us to use this object in vector's range constructor. More... | |
Public Attributes | |
config | canvas_cfg_ |
Contains the state info for a resolution.
At the moment all states are the same so there is no need to use inheritance. If that is needed at some point the containers should contain pointers
Definition at line 36 of file widget_definition.hpp.
|
explicit |
Definition at line 28 of file widget_definition.cpp.
|
inline |
Allows us to use this object in vector's range constructor.
Definition at line 43 of file widget_definition.hpp.
References canvas_cfg_.
config gui2::state_definition::canvas_cfg_ |
Definition at line 40 of file widget_definition.hpp.
Referenced by operator const config &().