InfiniTime.git

ref: fdc89f1a20889c0295534f58dc2e82ce8c55a18b

src/displayapp/screens/Label.cpp


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#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());
}