Merge branch 'ITCactus-watchface-casio-digital-G7710' into develop

This commit is contained in:
Jean-François Milants
2022-10-01 21:11:05 +02:00
9 changed files with 476 additions and 13 deletions

View File

@@ -13,6 +13,7 @@
#include "displayapp/screens/WatchFaceInfineat.h"
#include "displayapp/screens/WatchFaceAnalog.h"
#include "displayapp/screens/WatchFacePineTimeStyle.h"
#include "displayapp/screens/WatchFaceCasioStyleG7710.h"
using namespace Pinetime::Applications::Screens;
@@ -51,6 +52,9 @@ Clock::Clock(DisplayApp* app,
case 4:
return WatchFaceInfineatScreen();
break;
case 5:
return WatchFaceCasioStyleG7710();
break;
}
return WatchFaceDigitalScreen();
}()} {
@@ -120,3 +124,15 @@ std::unique_ptr<Screen> Clock::WatchFaceInfineatScreen() {
motionController,
filesystem);
}
std::unique_ptr<Screen> Clock::WatchFaceCasioStyleG7710() {
return std::make_unique<Screens::WatchFaceCasioStyleG7710>(app,
dateTimeController,
batteryController,
bleController,
notificatioManager,
settingsController,
heartRateController,
motionController,
filesystem);
}