diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-03-25 22:22:22 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-03-25 22:22:22 (GMT) |
| commit | 268ddbdc7622ab2a6b0490701064ffdde13fee51 (patch) | |
| tree | b4a5a240f3df214aa8245f9913fb4a9af8c356a4 /src/displayapp/DisplayApp.h | |
| parent | 30c319831ab15e6abaf97e4fa8f58a8eaeb8ba4a (diff) | |
sans animations
Diffstat (limited to 'src/displayapp/DisplayApp.h')
| -rw-r--r-- | src/displayapp/DisplayApp.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/displayapp/DisplayApp.h b/src/displayapp/DisplayApp.h index 3c8845c..41e0d19 100644 --- a/src/displayapp/DisplayApp.h +++ b/src/displayapp/DisplayApp.h @@ -44,7 +44,6 @@ namespace Pinetime { class DisplayApp { public: enum class States { Idle, Running }; - enum class FullRefreshDirections { None, Up, Down, Left, Right, LeftAnim, RightAnim }; DisplayApp(Drivers::St7789& lcd, Components::LittleVgl& lvgl, @@ -64,9 +63,7 @@ namespace Pinetime { void Start(System::BootErrors error); void PushMessage(Display::Messages msg); - void StartApp(Apps app, DisplayApp::FullRefreshDirections direction); - - void SetFullRefresh(FullRefreshDirections direction); + void StartApp(Apps app); void Register(Pinetime::System::SystemTask* systemTask); @@ -102,19 +99,16 @@ namespace Pinetime { Apps currentApp = Apps::None; Apps returnToApp = Apps::None; - FullRefreshDirections returnDirection = FullRefreshDirections::None; - TouchEvents returnTouchEvent = TouchEvents::None; TouchEvents GetGesture(); static void Process(void* instance); void InitHw(); void Refresh(); - void ReturnApp(Apps app, DisplayApp::FullRefreshDirections direction, TouchEvents touchEvent); - void LoadApp(Apps app, DisplayApp::FullRefreshDirections direction); + void ReturnApp(Apps app); + void LoadApp(Apps app); void PushMessageToSystemTask(Pinetime::System::Messages message); Apps nextApp = Apps::None; - DisplayApp::FullRefreshDirections nextDirection; System::BootErrors bootError; }; } |
