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