gigawidgets 0.3.55
A wxWidgets-style UI library for the Arduino Giga Display Shield.
 
Loading...
Searching...
No Matches
coords.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include <cinttypes>
5
6namespace ui {
7
12typedef int16_t coord_t;
13
17struct Coords {
22};
23
24} // namespace ui
int16_t coord_t
A pixel coordinate on the screen. This can be negative or otherwise off-screen.
Definition coords.hpp:12
A struct for storing the pixel coordinates of various UI elements.
Definition coords.hpp:17
coord_t y
The vertical coordinate.
Definition coords.hpp:21
coord_t x
The horizontal coordinate.
Definition coords.hpp:19