diff options
| author | JF <jf@codingfield.com> | 2020-04-05 17:59:22 (GMT) |
|---|---|---|
| committer | Gitea <gitea@fake.local> | 2020-04-05 17:59:22 (GMT) |
| commit | 86d5732b960fbe7f81ed711b2de7e6b79293c96a (patch) | |
| tree | 8447f6b7bbff0f423e9cf5d15ed709c630bed25e /src/DisplayApp/Screens/Label.h | |
| parent | a91c68c931cc8308e87acd796afb46ba70ae3dc2 (diff) | |
| parent | 6e1bd118c5ecc53016548072501591b329500870 (diff) | |
Merge branch 'develop' of JF/PineTime into master
Diffstat (limited to 'src/DisplayApp/Screens/Label.h')
| -rw-r--r-- | src/DisplayApp/Screens/Label.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/DisplayApp/Screens/Label.h b/src/DisplayApp/Screens/Label.h new file mode 100644 index 0000000..b73540f --- /dev/null +++ b/src/DisplayApp/Screens/Label.h @@ -0,0 +1,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; + }; + } + } +}
\ No newline at end of file |
