Peritoneal Dialysis Capstone
Controlling catheter for peritoneal dialysis
Loading...
Searching...
No Matches
TFT.h
Go to the documentation of this file.
1
4
5#ifndef TFT_H
6#define TFT_H
7
14enum class TFTColor {
17};
18
27struct TFTPoint {
28 unsigned x;
29 unsigned y;
30
31 bool operator==(const TFTPoint &other) const {
32 return (x == other.x) && (y == other.y);
33 }
34};
35
36#endif // TFT_H
TFTColor
A color used for drawing on a TFT display.
Definition TFT.h:14
@ White
Definition TFT.h:16
@ Black
Definition TFT.h:15
The position of a pixel on a TFT display, given in Cartesian coordinates.
Definition TFT.h:27
bool operator==(const TFTPoint &other) const
Definition TFT.h:31
unsigned y
Definition TFT.h:29
unsigned x
Definition TFT.h:28