23#include "guillaume/components/bound.hpp"
29 , utility::graphic::SizeF()
35 if (getWidth() != width) {
36 utility::graphic::SizeF::setWidth(width);
44 if (getHeight() != height) {
45 utility::graphic::SizeF::setHeight(height);
Bound & setHeight(float height) noexcept
Set the height.
Bound & setWidth(float width) noexcept
Set the width.
Bound(void)
Construct a bound with the default size of utility::graphic::SizeF.
Component(void)=default
Create a component that is not marked as changed.
void setHasChanged(bool hasChanged)
Raise or lower the changed flag.
State. Every class here is plain data attached to an entity.
The entity-component-system core, independent of any widget.