#pragma once #include namespace ui { /** * @brief A simple rectangle. */ struct Rect { Point begin; int width; int height; bool contains(Point point); Point normalize(Point point); }; }