More work on horizon watchface
This commit is contained in:
parent
ba65c23c27
commit
26bddf1ab9
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <lvgl/lvgl.h>
|
||||
#include <lvgl/src/lv_core/lv_obj.h>
|
||||
#include <chrono>
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
@ -92,14 +92,14 @@ namespace Pinetime {
|
||||
struct WatchFaceTraits<WatchFace::Horizon> {
|
||||
static constexpr WatchFace watchFace = WatchFace::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,
|
||||
controllers.batteryController,
|
||||
controllers.settingsController,
|
||||
controllers.motionController,
|
||||
controllers.filesystem);
|
||||
};*/
|
||||
};
|
||||
|
||||
static bool IsAvailable(Pinetime::Controllers::FS& filesystem) {
|
||||
return Screens::WatchFaceHorizon::IsAvailable(filesystem);
|
||||
|
Loading…
Reference in New Issue
Block a user