diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-05-02 19:12:26 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-05-02 19:12:26 +1000 |
| commit | 1573a8c4cde1cd9528b422b2dcc598e37ffe94a7 (patch) | |
| tree | d162822b8fd7054f81bace0c7a65ab4d5e6f93ef /src/ui/include/lvgl_task.hpp | |
| parent | a231fd1c8afedbeb14b0bc77d76bad61db986059 (diff) | |
| download | tangara-fw-1573a8c4cde1cd9528b422b2dcc598e37ffe94a7.tar.gz | |
WIP merge cyclically dependent components into one big component
Diffstat (limited to 'src/ui/include/lvgl_task.hpp')
| -rw-r--r-- | src/ui/include/lvgl_task.hpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/ui/include/lvgl_task.hpp b/src/ui/include/lvgl_task.hpp deleted file mode 100644 index 8efcbf35..00000000 --- a/src/ui/include/lvgl_task.hpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2023 jacqueline <me@jacqueline.id.au> - * - * SPDX-License-Identifier: GPL-3.0-only - */ - -#pragma once - -#include <atomic> -#include <cstdbool> -#include <memory> - -#include "freertos/FreeRTOS.h" -#include "freertos/task.h" -#include "freertos/timers.h" - -#include "display.hpp" -#include "lvgl_input_driver.hpp" -#include "screen.hpp" -#include "themes.hpp" -#include "touchwheel.hpp" - -namespace ui { - -class UiTask { - public: - static auto Start() -> UiTask*; - ~UiTask(); - - auto input(std::shared_ptr<input::LvglInputDriver> input) -> void; - - private: - UiTask(); - - auto Main() -> void; - - std::shared_ptr<input::LvglInputDriver> input_; - std::shared_ptr<Screen> current_screen_; -}; - -} // namespace ui |
