gigawidgets 0.3.55
A wxWidgets-style UI library for the Arduino Giga Display Shield.
 
Loading...
Searching...
No Matches
ui::Position Struct Reference

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.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: