summaryrefslogtreecommitdiff
path: root/src/ui/include/lvgl_task.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-05-02 19:12:26 +1000
committerjacqueline <me@jacqueline.id.au>2024-05-02 19:12:26 +1000
commit1573a8c4cde1cd9528b422b2dcc598e37ffe94a7 (patch)
treed162822b8fd7054f81bace0c7a65ab4d5e6f93ef /src/ui/include/lvgl_task.hpp
parenta231fd1c8afedbeb14b0bc77d76bad61db986059 (diff)
downloadtangara-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.hpp41
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