diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2023-02-23 13:28:04 +0200 |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2023-02-24 00:05:21 +0200 |
| commit | 7066ff5aba3d2643a35ba98379ff24143da99c3c (patch) | |
| tree | 79f997e532579529f6c5bcf0be0380d5160db993 /src/touchhandler/TouchHandler.h | |
| parent | 6542f255cdb38c5c3baba47ef50993e2c5a2bcc5 (diff) | |
touchhandler: Remove LVGL dependency
Move LVGL specific code to the LittleVgl class
Diffstat (limited to 'src/touchhandler/TouchHandler.h')
| -rw-r--r-- | src/touchhandler/TouchHandler.h | 10 |
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; |
