summaryrefslogtreecommitdiff
path: root/src/ui/include/screen_splash.hpp
blob: 6e746345343dc31d3585ddf20ca1a80cc91be21d (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
/*
 * Copyright 2023 jacqueline <me@jacqueline.id.au>
 *
 * SPDX-License-Identifier: GPL-3.0-only
 */

#pragma once

#include <memory>

#include "lvgl.h"

#include "screen.hpp"

namespace ui {
namespace screens {

class Splash : public Screen {
 public:
  Splash();
  ~Splash();

  auto canPop() -> bool override { return false; }

 private:
  lv_obj_t* container_;
  lv_obj_t* label_;
  lv_obj_t* spinner_;
};

}  // namespace screens
}  // namespace ui