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