More work on horizon watchface

This commit is contained in:
Josh 2024-05-09 12:41:58 -04:00
parent ba65c23c27
commit 26bddf1ab9

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include <lvgl/lvgl.h> #include <lvgl/src/lv_core/lv_obj.h>
#include <chrono> #include <chrono>
#include <cstdint> #include <cstdint>
#include <memory> #include <memory>
@ -93,13 +93,13 @@ namespace Pinetime {
static constexpr WatchFace watchFace = WatchFace::Horizon; static constexpr WatchFace watchFace = WatchFace::Horizon;
static constexpr const char* name = "Horizon"; static constexpr const char* name = "Horizon";
static Screens::Screen* Create;/*(AppControllers& controllers) { static Screens::Screen* Create(AppControllers& controllers) {
return new Screens::WatchFaceHorizon(controllers.dateTimeController, return new Screens::WatchFaceHorizon(controllers.dateTimeController,
controllers.batteryController, controllers.batteryController,
controllers.settingsController, controllers.settingsController,
controllers.motionController, controllers.motionController,
controllers.filesystem); controllers.filesystem);
};*/ };
static bool IsAvailable(Pinetime::Controllers::FS& filesystem) { static bool IsAvailable(Pinetime::Controllers::FS& filesystem) {
return Screens::WatchFaceHorizon::IsAvailable(filesystem); return Screens::WatchFaceHorizon::IsAvailable(filesystem);