InfiniTime/src/displayapp/Screens/Label.h

23 lines
446 B
C
Raw Normal View History

#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;
};
}
}
}