From a3bfbb5e08d57c4e834e8565d103870230fa1698 Mon Sep 17 00:00:00 2001 From: Diego Miguel Date: Sun, 6 Mar 2022 13:32:06 +0100 Subject: Implement SettingWatchFace list --- src/components/settings/Settings.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/components/settings/Settings.h') diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h index 56248d02..71222da4 100644 --- a/src/components/settings/Settings.h +++ b/src/components/settings/Settings.h @@ -133,6 +133,14 @@ namespace Pinetime { return settingsMenu; }; + void SetWatchfacesMenu(uint8_t menu) { + watchFacesMenu = menu; + }; + + uint8_t GetWatchfacesMenu() const { + return watchFacesMenu; + }; + void SetClockType(ClockType clocktype) { if (clocktype != settings.clockType) { settingsChanged = true; @@ -262,6 +270,7 @@ namespace Pinetime { uint8_t appMenu = 0; uint8_t settingsMenu = 0; + uint8_t watchFacesMenu = 0; /* ble state is intentionally not saved with the other watch settings and initialized * to off (false) on every boot because we always want ble to be enabled on startup */ -- cgit v1.2.3-70-g09d2