TouchCPLib
1.0.0
A touch-enabled GUI interface based on SDL and libTS. It provides a simple desktop-free UI for your embedded Raspberry projects.
Point.h
Go to the documentation of this file.
1
#pragma once
2
13
#include <SDL2/SDL.h>
14
#include <stdint.h>
15
16
struct
Point
17
{
18
int
x
,
y
;
19
20
operator
SDL_Point()
const
21
{
22
return
{
23
x
, y};
24
}
25
};
26
27
template
<
typename
T>
28
struct
PointT
29
{
30
T
x
,
y
;
31
};
Point::x
int x
Definition:
Point.h:18
Point::y
int y
Definition:
Point.h:18
PointT
Definition:
Point.h:28
Point
Definition:
Point.h:16
PointT::y
T y
Definition:
Point.h:30
include
TouchCP
Point.h
Generated by
1.8.13