InfiniTime/src/displayapp/screens/Label.h
Riku Isokoski ec8a845052
Add PageIndicator widget to reduce code duplication (#1218)
* Move PageIndicator widget to its own files to reduce code duplication
* Use uint8_t in PageIndicator
2022-07-05 07:41:09 +02:00

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;
};
}
}
}