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