summaryrefslogtreecommitdiff
path: root/src/DisplayApp/Screens/Label.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-08-14 19:54:43 +0200
committerJF <jf@codingfield.com>2020-08-14 19:54:43 +0200
commite6f5ab7b9145e842708611cc5b13066f89a1673d (patch)
tree421d23a9b963459276b7a462f009462d50d36dbc /src/DisplayApp/Screens/Label.h
parentbbfc20c3ff4b741cd21b162389905a59a8e22f3f (diff)
parent32f20fa994fec9e21d2af4d7bd287b94316b3970 (diff)
Merge develop and fix conflicts.
Diffstat (limited to 'src/DisplayApp/Screens/Label.h')
-rw-r--r--src/DisplayApp/Screens/Label.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/DisplayApp/Screens/Label.h b/src/DisplayApp/Screens/Label.h
index b73540f4..3e7b3797 100644
--- a/src/DisplayApp/Screens/Label.h
+++ b/src/DisplayApp/Screens/Label.h
@@ -2,19 +2,18 @@
#include <vector>
#include "Screen.h"
+#include <lvgl/lvgl.h>
namespace Pinetime {
namespace Applications {
namespace Screens {
- class Label {
+
+ class Label : public Screen {
public:
- Label() = default;
- explicit Label(const char* text);
- ~Label();
- void Refresh();
+ Label(DisplayApp* app, const char* text);
+ ~Label() override;
+ bool Refresh() override {return false;}
- void Hide();
- void Show();
private:
lv_obj_t * label = nullptr;
const char* text = nullptr;