summaryrefslogtreecommitdiff
path: root/src/DisplayApp/Screens/Label.h
blob: b73540f4b626cf1b5bca8cbca922f6efdb2516f5 (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
#pragma once

#include <vector>
#include "Screen.h"

namespace Pinetime {
  namespace Applications {
    namespace Screens {
      class Label {
        public:
          Label() = default;
          explicit Label(const char* text);
          ~Label();
          void Refresh();

          void Hide();
          void Show();
        private:
          lv_obj_t * label = nullptr;
          const char* text = nullptr;
      };
    }
  }
}