diff options
author | Jean-François Milants <jf@codingfield.com> | 2022-09-27 21:59:22 +0200 |
---|---|---|
committer | Jean-François Milants <jf@codingfield.com> | 2022-09-27 21:59:22 +0200 |
commit | fbe964ff44fc61fec33b89d56803125d79a12d1d (patch) | |
tree | 1ea59db4fd671b349c2b37fd95f5ce73c805ff68 /src/components/settings | |
parent | 63932810d2707e6c530dae64b209ac240137dc17 (diff) | |
parent | 50b98798b9df370f685e95079f63f7d4e2dbbcde (diff) |
Merge branch 'watchface-casio-digital-G7710' of github.com:ITCactus/InfiniTime into ITCactus-watchface-casio-digital-G7710
# Conflicts:
# src/components/settings/Settings.h
# src/displayapp/screens/CheckboxList.cpp
# src/displayapp/screens/CheckboxList.h
# src/displayapp/screens/Clock.cpp
# src/displayapp/screens/Clock.h
# src/displayapp/screens/settings/SettingWatchFace.cpp
Diffstat (limited to 'src/components/settings')
-rw-r--r-- | src/components/settings/Settings.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h index 79f121d1..e39ed2f9 100644 --- a/src/components/settings/Settings.h +++ b/src/components/settings/Settings.h @@ -123,6 +123,14 @@ namespace Pinetime { appMenu = menu; }; + void SetWatchfacesMenu(uint8_t menu) { + watchFacesMenu = menu; + }; + + uint8_t GetWatchfacesMenu() const { + return watchFacesMenu; + }; + uint8_t GetAppMenu() const { return appMenu; }; @@ -134,14 +142,6 @@ 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; |