Add status icons widget
This commit is contained in:
@@ -7,10 +7,9 @@
|
||||
#include "displayapp/Apps.h"
|
||||
#include "components/datetime/DateTimeController.h"
|
||||
#include "components/settings/Settings.h"
|
||||
#include "components/datetime/DateTimeController.h"
|
||||
#include "components/battery/BatteryController.h"
|
||||
#include "displayapp/screens/BatteryIcon.h"
|
||||
#include "displayapp/widgets/PageIndicator.h"
|
||||
#include "displayapp/widgets/StatusIcons.h"
|
||||
|
||||
namespace Pinetime {
|
||||
namespace Applications {
|
||||
@@ -26,7 +25,8 @@ namespace Pinetime {
|
||||
uint8_t numScreens,
|
||||
DisplayApp* app,
|
||||
Controllers::Settings& settingsController,
|
||||
Pinetime::Controllers::Battery& batteryController,
|
||||
Controllers::Battery& batteryController,
|
||||
Controllers::Ble& bleController,
|
||||
Controllers::DateTime& dateTimeController,
|
||||
std::array<Applications, 6>& applications);
|
||||
|
||||
@@ -36,7 +36,6 @@ namespace Pinetime {
|
||||
void OnValueChangedEvent(lv_obj_t* obj, uint32_t buttonId);
|
||||
|
||||
private:
|
||||
Pinetime::Controllers::Battery& batteryController;
|
||||
Controllers::DateTime& dateTimeController;
|
||||
|
||||
lv_task_t* taskUpdate;
|
||||
@@ -45,8 +44,7 @@ namespace Pinetime {
|
||||
lv_obj_t* btnm1;
|
||||
|
||||
Widgets::PageIndicator pageIndicator;
|
||||
|
||||
BatteryIcon batteryIcon;
|
||||
Widgets::StatusIcons statusIcons;
|
||||
|
||||
const char* btnmMap[8];
|
||||
Pinetime::Applications::Apps apps[6];
|
||||
|
Reference in New Issue
Block a user