2020-03-22 07:03:17 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Screen.h"
|
2020-08-14 03:46:37 -04:00
|
|
|
#include <lvgl/lvgl.h>
|
2020-03-22 07:03:17 -04:00
|
|
|
|
|
|
|
namespace Pinetime {
|
|
|
|
namespace Applications {
|
|
|
|
namespace Screens {
|
2020-08-14 03:46:37 -04:00
|
|
|
|
2020-08-14 04:05:44 -04:00
|
|
|
class Label : public Screen {
|
2020-08-14 03:46:37 -04:00
|
|
|
public:
|
2020-08-14 04:05:44 -04:00
|
|
|
Label(DisplayApp* app, const char* text);
|
|
|
|
~Label() override;
|
2020-08-14 03:46:37 -04:00
|
|
|
bool Refresh() override {return false;}
|
|
|
|
|
|
|
|
private:
|
|
|
|
lv_obj_t * label = nullptr;
|
|
|
|
const char* text = nullptr;
|
|
|
|
};
|
2020-03-22 07:03:17 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|