Implement SettingWatchFace list
This commit is contained in:
parent
b561e7f3d0
commit
a3bfbb5e08
4 changed files with 55 additions and 62 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue