summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Label.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/Label.h')
-rw-r--r--src/displayapp/screens/Label.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/displayapp/screens/Label.h b/src/displayapp/screens/Label.h
new file mode 100644
index 00000000..3e7b3797
--- /dev/null
+++ b/src/displayapp/screens/Label.h
@@ -0,0 +1,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;
+ };
+ }
+ }
+} \ No newline at end of file