A struct that holds the normalized position of a widget. More...
#include <position.hpp>
Public Attributes | |
| float | x |
| The normalized horizontal position. | |
| float | y |
| The normalized vertical position. | |
A struct that holds the normalized position of a widget.
Instead of a number of pixels, the value of each element is expected to range from 0 to 1 inclusive, indicating far left and far right on the parent widget, respectively.