summaryrefslogtreecommitdiff
path: root/src/components/settings
AgeCommit message (Collapse)AuthorFilesLines
2022-10-11Checkbox list now receives a function pointer to call when the setting has ↵Jean-François Milants1-8/+5
changed. This allow to remove the dependency between CheckBoxList (UI component) with SettingController.
2022-10-02Merge branch 'pts-options' of github.com:kieranc/InfiniTime into ↵Jean-François Milants1-0/+12
kieranc-pts-options # Conflicts: # src/components/settings/Settings.h
2022-09-27Merge branch 'watchface-casio-digital-G7710' of ↵Jean-François Milants1-8/+8
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
2022-09-27Merge pull request #1024 from dmlls/infineat-prJF1-1/+36
Infineat Watchface + support for external resources.
2022-09-17Update src/components/settings/Settings.hAkseli1-1/+1
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
2022-09-17add pink colorAkseli Lahtinen1-2/+3
2022-09-11Merge branch 'develop' into infineat-external-resourcesJean-François Milants1-2/+2
# Conflicts: # src/displayapp/screens/Symbols.h # src/displayapp/screens/settings/SettingWatchFace.cpp # src/displayapp/screens/settings/SettingWatchFace.h
2022-09-06CleanupKieran Cawthray1-2/+1
2022-09-06Implement persistent settingsKieran Cawthray1-1/+14
2022-08-21Add sleep mode which disables notifications, touch- and motion wakeup (#1261)Riku Isokoski1-2/+2
2022-06-30Apply clang-format to Settings.hAutoformatter1-1/+0
2022-06-30post rebase fixesITCactus1-4/+5
2022-06-30[new watchface] watchface inspired by G7710, with day of year and week ↵ITCactus1-1/+11
number info
2022-06-11Bump settings version (#1)Diego Miguel1-1/+1
2022-06-11Implement SettingWatchFace listDiego Miguel1-0/+9
2022-06-11Fixes in side cover togglingDiego Miguel1-4/+6
2022-06-11Add Infineat settings to settings controllerDiego Miguel1-0/+24
2022-06-05Apply clang-format to all C++ filesFinlay Davidson2-17/+16
2022-04-02Replace airplane mode with a bluetooth toggleRiku Isokoski1-1/+1
2022-03-03Settings: more specific read and write modeReinhold Gschweicher1-2/+2
For each filesystem interaction be more specific if we want to read from the file or write to it. Doing a non-creating read on the loading of the settings file, otherwise an empty file could be created, and when reading that empty file for the initial settings I would expect an error (or random data) when reading.
2022-02-20Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants1-5/+5
into evergreen22-airplane-mode Apply a few changes that were requested in the PR during the review. # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp
2022-02-20Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants1-4/+35
into evergreen22-airplane-mode # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp
2022-02-13Merge branch 'statusBarTimeFormat' of https://github.com/mruss77/InfiniTime ↵Jean-François Milants1-1/+0
into mruss77-statusBarTimeFormat # Conflicts: # src/components/datetime/DateTimeController.cpp
2022-01-04Merge branch 'ShakeWake' of https://github.com/geekbozu/InfiniTime into ↵Jean-François Milants1-4/+18
geekbozu-ShakeWake # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/screens/settings/Settings.cpp
2022-01-04Adds enum class for chimes optionSteveAmor1-6/+7
2022-01-04Actually save the thresholdTim Keller1-1/+5
Prevent a few crashes due to an LV task being active when it shouldnt be.
2022-01-04Better Sensitivity UI, Calibration button addedTim Keller1-2/+1
2022-01-04Add averaging to wake threshold. Makes it take more then just a "flick" to ↵Tim Keller1-2/+2
turn on
2022-01-04Add start of settings app for senstivity.Tim Keller1-2/+11
really just debugging. I want to make it more configurable then high med low. Position of setting needs a new location...dynamicly adding it currently at the end. Which honestly im fine with.
2022-01-04Added Shake to wakeTim Keller1-3/+5
2022-01-02resolves conflictsSteveAmor2-2/+1
2021-12-23Add airplane mode featureJames A. Jerkins1-4/+35
Implements 'Airplane mode' feature to disable and enable bluetooth/ble Adds airplaneMode as a non-persisted setting Adds a setting menu for switching airplane mode on and off Displays an airplane symbol on the Digital watch face and the PineTimeStyle watch face when airplane mode is enabled Always enables bluetooth/ble on boot (disable airplane mode) Alphabetizes the settings menu options Style cleanups Closes #632
2021-12-02Settings: remove unused driver includeReinhold Gschweicher1-1/+0
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher1-1/+1
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
2021-11-10Status bar displays time in 12 or 24 hour format based on settingsMark Russell1-1/+0
2021-11-07update settings versionSteveAmor1-1/+1
2021-11-07Chimes optionSteveAmor1-0/+11
2021-09-13Merge branch 'develop' into disable_notif_onlyRiku Isokoski1-1/+1
2021-09-12Merge pull request #617 from ColinKinloch/wake_up_mode_setting_changeJF0021-1/+1
Correct change test for wake up mode setting
2021-09-12Toggle notifications only, keep vibrations.Riku Isokoski1-7/+7
2021-08-28Settings : use enums instead of ints to store colors. Group all PTS settings ↵Jean-François Milants1-20/+26
into a struct. PTS/SettingsPTS : Convert to/from LVGL color and Settings::Color, add functions to reduce code duplication. Adapt SettingPineTimeStyle with the last Screen Interface
2021-08-26Correct change test for wake up mode settingColin Kinloch1-1/+1
2021-07-25Increment settings value, remove old hacky fixKieran Cawthray1-1/+1
2021-07-20Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray1-8/+31
2021-07-14Multiple wakeup sources (#290)Kozova11-8/+31
* Allow multiple wakeup modes at the same time. This commit adds multiple wakeup modes support. It does so by storing them as a uint8_t bitfield enum. It changes the following functions: Since multiple modes can be on now, older version would not cut it: WakeUpMode getWakeupMode() -> std::bitset<3> getWakeUpModes() Where each bit corresponds to a WakeUpMode We still need a way to check whether a specific wakeup mode is on, so: bool isWakeUpModeOn(const WakeUpMode mode) This function was changed to work correctly with the new implementation. setWakeUpMode(WakeupMode mode, bool enable) Previously, systemtask would exit SystemTask::OnTouchEvent() if the wake up mode was None or RaiseWrist, to prevent waking up when a touch was received. However, after enabling using multiple WakeUpModes, this caused a bug where when RaiseWrist was checked with SingleTap or DoubleTap, the tap detection wouldn't work. This commit fixes that bug. Next commit will update the settings WakeUpMode select UI to reflect these changes. Signed-off-by: Kozova1 <mug66kk@gmail.com> * Updated UI to reflect multiple WakeUp sources being available. Signed-off-by: Kozova1 <mug66kk@gmail.com>
2021-07-12Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray2-112/+46
2021-07-11Using littlefs (#438)joaquim.org2-112/+46
* add submodule littlefs * base fs * Save settings using littlefs * Small fixes and suggestions from PR * More small fixes from PR suggestions * Code clean up * Change SpiNorFlash functions to be private in FS
2021-06-24PineTimeStyle color picker add settings integrationKieran Cawthray1-0/+31
2021-05-18Revert "Reset"Kieran Cawthray1-1/+9
This reverts commit 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d.
2021-05-18ResetKieran Cawthray1-9/+1