Widget2DProps struct reference
A structure containing basic data about the widget.
Functions documentation
Widget2DProps( Point<int> position = { 0,0 },Dimension<size_t> dimension = { 100,100 }, int flags =Anchor::Bottom |Anchor::Left );
Default constructor with default parameters. Sets the position and size of the widget.
Widget2DProps(constWidget2DProps& copy);
Copy constructor.
~Widget2DProps();
Destructor.
Variables documentation
Point<int> Position;Stores the current position of the widget.
Dimension<size_t> Dimensions;
Stores the current dimenions of the widget.
int iFlags;Stores widget flags.
bool bVisibility;Defines whether the widget should be displayed or not.
bool bIfChanged;An helper variable describing whether in the previous tick some parameters changes occurred.
bool bDisabled;Stores information about whether the widget is on or off.
int iId;Stores widget ID. The identifier is used in all classes that are derrives of ComplexWidgets class.