A struct that holds the pixel space that a widget would take up on the screen. More...
#include <bounds.hpp>
Public Member Functions | |
| bool | contains (const Coords &point) |
| Check if a point is contained within the current bounds. | |
Public Attributes | |
| Coords | min |
| The starting point of the bounds. | |
| Coords | max |
| The ending point of the bounds. | |
A struct that holds the pixel space that a widget would take up on the screen.
| bool ui::Bounds::contains | ( | const Coords & | point | ) |
Check if a point is contained within the current bounds.
| point | The point to check. |