summaryrefslogtreecommitdiff
path: root/src/ui/include/screen_onboarding.hpp
blob: d77519269a913a68675bb0713bd5ff80e580219b (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 * Copyright 2023 jacqueline <me@jacqueline.id.au>
 *
 * SPDX-License-Identifier: GPL-3.0-only
 */

#pragma once

#include <memory>
#include <vector>

#include "lvgl.h"

#include "screen.hpp"

namespace ui {
namespace screens {

class Onboarding : public Screen {
 public:
  Onboarding(const std::string& title, bool show_prev, bool show_next);

 private:
  lv_obj_t* window_;
  lv_obj_t* title_;
  lv_obj_t* next_button_;
  lv_obj_t* prev_button_;

 protected:
  lv_obj_t* content_;
};

namespace onboarding {

class LinkToManual : public Onboarding {
  LinkToManual();
};

class Controls : public Onboarding {
  Controls();
};

class FormatSdCard : public Onboarding {
  FormatSdCard();
};

}  // namespace onboarding

}  // namespace screens
}  // namespace ui