void SetBox(Box box) override
Assign a position and a dimension to an element for drawing.
void ComputeRequirement() override
Compute how much space an elements needs.
virtual void SetBox(Box box)
Assign a position and a dimension to an element for drawing.
virtual void ComputeRequirement()
Compute how much space an elements needs.
std::shared_ptr< T > Make(Args &&... args)