diff options
Diffstat (limited to 'src/displayapp/Screens/Label.h')
-rw-r--r-- | src/displayapp/Screens/Label.h | 23 |
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 |