ec8a845052
* Move PageIndicator widget to its own files to reduce code duplication * Use uint8_t in PageIndicator
23 lines
486 B
C++
23 lines
486 B
C++
#pragma once
|
|
|
|
#include "displayapp/screens/Screen.h"
|
|
#include "displayapp/widgets/PageIndicator.h"
|
|
#include <lvgl/lvgl.h>
|
|
|
|
namespace Pinetime {
|
|
namespace Applications {
|
|
namespace Screens {
|
|
|
|
class Label : public Screen {
|
|
public:
|
|
Label(uint8_t screenID, uint8_t numScreens, DisplayApp* app, lv_obj_t* labelText);
|
|
~Label() override;
|
|
|
|
private:
|
|
lv_obj_t* labelText = nullptr;
|
|
Widgets::PageIndicator pageIndicator;
|
|
};
|
|
}
|
|
}
|
|
}
|