diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-05-12 00:19:59 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-05-12 00:19:59 (GMT) |
| commit | 72d0f103a8bc1048ff9729aee65070475977b5a3 (patch) | |
| tree | 6a806507701dcbea7eb30fa0351de9f3e59d7f56 /src/touchhandler/TouchHandler.h | |
| parent | 1ff0a48bbb66f8099c1451fa02983655003def8e (diff) | |
| parent | aca605d4fb4040cc80c1acf101023aa86e7694ba (diff) | |
Merge branch 'alarm-reliability-and-switch-to-freertos-timers' into analog24
Diffstat (limited to 'src/touchhandler/TouchHandler.h')
| -rw-r--r-- | src/touchhandler/TouchHandler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/touchhandler/TouchHandler.h b/src/touchhandler/TouchHandler.h index ed452b3..fb3d265 100644 --- a/src/touchhandler/TouchHandler.h +++ b/src/touchhandler/TouchHandler.h @@ -1,6 +1,6 @@ #pragma once #include "drivers/Cst816s.h" -#include "systemtask/SystemTask.h" +#include "displayapp/TouchEvents.h" namespace Pinetime { namespace Components { @@ -26,13 +26,13 @@ namespace Pinetime { uint8_t GetY() const { return info.y; } - Drivers::Cst816S::Gestures GestureGet(); + Pinetime::Applications::TouchEvents GestureGet(); private: Pinetime::Drivers::Cst816S::TouchInfos info; Pinetime::Drivers::Cst816S& touchPanel; Pinetime::Components::LittleVgl& lvgl; - Pinetime::Drivers::Cst816S::Gestures gesture; + Pinetime::Applications::TouchEvents gesture; bool isCancelled = false; bool gestureReleased = true; }; |
