aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/settings
diff options
context:
space:
mode:
authorDiego Miguel <dmlls@diegomiguel.me>2022-03-06 13:32:06 +0100
committerDiego Miguel <dmlls@diegomiguel.me>2022-06-11 16:56:35 +0200
commita3bfbb5e08d57c4e834e8565d103870230fa1698 (patch)
tree2eee77089172252c58fbe230c3aae26024c1b297 /src/components/settings
parentb561e7f3d0a232d57231869f0c69120741324b0f (diff)
Implement SettingWatchFace list
Diffstat (limited to 'src/components/settings')
-rw-r--r--src/components/settings/Settings.h9
1 files changed, 9 insertions, 0 deletions
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
*/