2021-10-13 20:08:35 +00:00
|
|
|
#include "displayapp/screens/Label.h"
|
2020-03-22 11:03:17 +00:00
|
|
|
|
|
|
|
using namespace Pinetime::Applications::Screens;
|
|
|
|
|
2021-04-18 17:28:14 +00:00
|
|
|
Label::Label(uint8_t screenID, uint8_t numScreens, Pinetime::Applications::DisplayApp* app, lv_obj_t* labelText)
|
2022-07-05 05:41:09 +00:00
|
|
|
: Screen(app), labelText {labelText}, pageIndicator(screenID, numScreens) {
|
2021-04-18 17:28:14 +00:00
|
|
|
|
2022-07-05 05:41:09 +00:00
|
|
|
pageIndicator.Create();
|
2020-03-22 11:03:17 +00:00
|
|
|
}
|
|
|
|
|
2020-08-14 08:05:44 +00:00
|
|
|
Label::~Label() {
|
2020-03-22 11:03:17 +00:00
|
|
|
lv_obj_clean(lv_scr_act());
|
|
|
|
}
|