summaryrefslogtreecommitdiff
path: root/src/touchhandler
diff options
context:
space:
mode:
authorFinlay Davidson <finlay.davidson@coderclass.nl>2023-01-07 21:23:15 +0100
committerJF <JF002@users.noreply.github.com>2023-01-09 21:41:21 +0100
commit96165a8541b33baace920e26f062b2e282d644c6 (patch)
tree41a5c6ec1f9a9981fcf970b7b48095b54c142d64 /src/touchhandler
parent09db67e003ab593956b4d4474fd08e7548985030 (diff)
Format header files
In my PR updating clang-format, I forgot to also format the headers.
Diffstat (limited to 'src/touchhandler')
-rw-r--r--src/touchhandler/TouchHandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/touchhandler/TouchHandler.h b/src/touchhandler/TouchHandler.h
index 332041e5..afce2844 100644
--- a/src/touchhandler/TouchHandler.h
+++ b/src/touchhandler/TouchHandler.h
@@ -6,9 +6,11 @@ namespace Pinetime {
namespace Components {
class LittleVgl;
}
+
namespace Drivers {
class Cst816S;
}
+
namespace Controllers {
class TouchHandler {
public:
@@ -20,12 +22,15 @@ namespace Pinetime {
bool IsTouching() const {
return info.touching;
}
+
uint8_t GetX() const {
return info.x;
}
+
uint8_t GetY() const {
return info.y;
}
+
Pinetime::Applications::TouchEvents GestureGet();
private: