aboutsummaryrefslogtreecommitdiffstats
path: root/src/touchhandler/TouchHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchhandler/TouchHandler.h')
-rw-r--r--src/touchhandler/TouchHandler.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/touchhandler/TouchHandler.h b/src/touchhandler/TouchHandler.h
index afce2844..9afaa247 100644
--- a/src/touchhandler/TouchHandler.h
+++ b/src/touchhandler/TouchHandler.h
@@ -3,10 +3,6 @@
#include "displayapp/TouchEvents.h"
namespace Pinetime {
- namespace Components {
- class LittleVgl;
- }
-
namespace Drivers {
class Cst816S;
}
@@ -14,10 +10,9 @@ namespace Pinetime {
namespace Controllers {
class TouchHandler {
public:
- explicit TouchHandler(Drivers::Cst816S&, Components::LittleVgl&);
- void CancelTap();
+ explicit TouchHandler(Drivers::Cst816S&);
+
bool GetNewTouchInfo();
- void UpdateLvglTouchPoint();
bool IsTouching() const {
return info.touching;
@@ -36,7 +31,6 @@ namespace Pinetime {
private:
Pinetime::Drivers::Cst816S::TouchInfos info;
Pinetime::Drivers::Cst816S& touchPanel;
- Pinetime::Components::LittleVgl& lvgl;
Pinetime::Applications::TouchEvents gesture;
bool isCancelled = false;
bool gestureReleased = true;