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
14
enum class
TFTColor
{
15
Black
,
16
White
,
17
};
18
27
struct
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
TFTColor
A color used for drawing on a TFT display.
Definition
TFT.h:14
TFTColor::White
@ White
Definition
TFT.h:16
TFTColor::Black
@ Black
Definition
TFT.h:15
TFTPoint
The position of a pixel on a TFT display, given in Cartesian coordinates.
Definition
TFT.h:27
TFTPoint::operator==
bool operator==(const TFTPoint &other) const
Definition
TFT.h:31
TFTPoint::y
unsigned y
Definition
TFT.h:29
TFTPoint::x
unsigned x
Definition
TFT.h:28
lib
Display
TFT.h
Generated by
1.16.1