summaryrefslogtreecommitdiff
path: root/src/ui/include/lvgl_task.hpp
blob: 7e60c4b46e541cf71e035c78f734ec9535a93a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * 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 "display.hpp"
#include "relative_wheel.hpp"
#include "themes.hpp"
#include "touchwheel.hpp"

namespace ui {

auto StartLvgl(std::weak_ptr<drivers::RelativeWheel> touch_wheel,
               std::weak_ptr<drivers::Display> display) -> void;

}  // namespace ui