ec8a845052
* Move PageIndicator widget to its own files to reduce code duplication * Use uint8_t in PageIndicator
14 lines
360 B
C++
14 lines
360 B
C++
#include "displayapp/screens/Label.h"
|
|
|
|
using namespace Pinetime::Applications::Screens;
|
|
|
|
Label::Label(uint8_t screenID, uint8_t numScreens, Pinetime::Applications::DisplayApp* app, lv_obj_t* labelText)
|
|
: Screen(app), labelText {labelText}, pageIndicator(screenID, numScreens) {
|
|
|
|
pageIndicator.Create();
|
|
}
|
|
|
|
Label::~Label() {
|
|
lv_obj_clean(lv_scr_act());
|
|
}
|