summaryrefslogtreecommitdiff
path: root/src/ui/include/lvgl_task.hpp
blob: c649c4b680ba1816681cfd2770ca1f411364a309 (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 "touchwheel.hpp"
#include "themes.hpp"

namespace ui {

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

}  // namespace ui