#include namespace psemek::ui::impl { size_polygon const & component::default_size_polygon() { static size_polygon const result{{ {max_size, 0.f}, {0.f, 0.f}, {0.f, max_size}, {max_size, max_size} }}; return result; } react::value component::default_size_constraints() { static react::value const result{default_size_polygon()}; return result; } util::span const> component::children() const { return {}; } geom::box const & component::shape() const { return shape_; } void component::reshape(geom::box const & new_shape) { shape_ = new_shape; } react::value component::size_constraints() const { return default_size_constraints(); } }