summaryrefslogtreecommitdiff
path: root/src/DisplayApp/Screens/Label.h
blob: 3e7b37972846ce336c2c081120afcdde6d7ef688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

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

namespace Pinetime {
  namespace Applications {
    namespace Screens {

      class Label : public Screen {
        public:
          Label(DisplayApp* app, const char* text);
          ~Label() override;
          bool Refresh() override {return false;}

        private:
          lv_obj_t * label = nullptr;
          const char* text = nullptr;
      };
    }
  }
}