aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/settings
Commit message (Collapse)AuthorAgeFilesLines
* Format header filesFinlay Davidson2023-01-091-0/+13
| | | | In my PR updating clang-format, I forgot to also format the headers.
* Checkbox list now receives a function pointer to call when the setting has ↵Jean-François Milants2022-10-111-8/+5
| | | | changed. This allow to remove the dependency between CheckBoxList (UI component) with SettingController.
* Merge branch 'pts-options' of github.com:kieranc/InfiniTime into ↵Jean-François Milants2022-10-021-0/+12
|\ | | | | | | | | | | | | kieranc-pts-options # Conflicts: # src/components/settings/Settings.h
| * CleanupKieran Cawthray2022-09-061-2/+1
| |
| * Implement persistent settingsKieran Cawthray2022-09-061-1/+14
| |
* | Merge branch 'watchface-casio-digital-G7710' of ↵Jean-François Milants2022-09-271-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
| * | Apply clang-format to Settings.hAutoformatter2022-06-301-1/+0
| | |
| * | post rebase fixesITCactus2022-06-301-4/+5
| | |
| * | [new watchface] watchface inspired by G7710, with day of year and week ↵ITCactus2022-06-301-1/+11
| | | | | | | | | | | | number info
* | | Merge pull request #1024 from dmlls/infineat-prJF2022-09-271-1/+36
|\ \ \ | | | | | | | | Infineat Watchface + support for external resources.
| * \ \ Merge branch 'develop' into infineat-external-resourcesJean-François Milants2022-09-111-2/+2
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | # Conflicts: # src/displayapp/screens/Symbols.h # src/displayapp/screens/settings/SettingWatchFace.cpp # src/displayapp/screens/settings/SettingWatchFace.h
| * | | Bump settings version (#1)Diego Miguel2022-06-111-1/+1
| | | |
| * | | Implement SettingWatchFace listDiego Miguel2022-06-111-0/+9
| | | |
| * | | Fixes in side cover togglingDiego Miguel2022-06-111-4/+6
| | | |
| * | | Add Infineat settings to settings controllerDiego Miguel2022-06-111-0/+24
| | |/ | |/|
* | | Update src/components/settings/Settings.hAkseli2022-09-171-1/+1
| | | | | | | | | Co-authored-by: NeroBurner <pyro4hell@gmail.com>
* | | add pink colorAkseli Lahtinen2022-09-171-2/+3
| |/ |/|
* | Add sleep mode which disables notifications, touch- and motion wakeup (#1261)Riku Isokoski2022-08-211-2/+2
|/
* Apply clang-format to all C++ filesFinlay Davidson2022-06-052-17/+16
|
* Replace airplane mode with a bluetooth toggleRiku Isokoski2022-04-021-1/+1
|
* Settings: more specific read and write modeReinhold Gschweicher2022-03-031-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.
* Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants2022-02-201-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
* Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants2022-02-201-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
| * Add airplane mode featureJames A. Jerkins2021-12-231-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
* | Merge branch 'statusBarTimeFormat' of https://github.com/mruss77/InfiniTime ↵Jean-François Milants2022-02-131-1/+0
|\ \ | | | | | | | | | | | | | | | | | | into mruss77-statusBarTimeFormat # Conflicts: # src/components/datetime/DateTimeController.cpp
| * | Status bar displays time in 12 or 24 hour format based on settingsMark Russell2021-11-101-1/+0
| | |
* | | Merge branch 'ShakeWake' of https://github.com/geekbozu/InfiniTime into ↵Jean-François Milants2022-01-041-4/+18
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | geekbozu-ShakeWake # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/screens/settings/Settings.cpp
| * | | Actually save the thresholdTim Keller2022-01-041-1/+5
| | | | | | | | | | | | | | | | Prevent a few crashes due to an LV task being active when it shouldnt be.
| * | | Better Sensitivity UI, Calibration button addedTim Keller2022-01-041-2/+1
| | | |
| * | | Add averaging to wake threshold. Makes it take more then just a "flick" to ↵Tim Keller2022-01-041-2/+2
| | | | | | | | | | | | | | | | turn on
| * | | Add start of settings app for senstivity.Tim Keller2022-01-041-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.
| * | | Added Shake to wakeTim Keller2022-01-041-3/+5
| | |/ | |/|
* | | Adds enum class for chimes optionSteveAmor2022-01-041-6/+7
| | |
* | | resolves conflictsSteveAmor2022-01-022-2/+1
|\| |
| * | Settings: remove unused driver includeReinhold Gschweicher2021-12-021-1/+0
| | |
| * | Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-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.
* | update settings versionSteveAmor2021-11-071-1/+1
| |
* | Chimes optionSteveAmor2021-11-071-0/+11
|/
* Merge branch 'develop' into disable_notif_onlyRiku Isokoski2021-09-131-1/+1
|\
| * Merge pull request #617 from ColinKinloch/wake_up_mode_setting_changeJF0022021-09-121-1/+1
| |\ | | | | | | Correct change test for wake up mode setting
| | * Correct change test for wake up mode settingColin Kinloch2021-08-261-1/+1
| | |
* | | Toggle notifications only, keep vibrations.Riku Isokoski2021-09-121-7/+7
|/ /
* | Settings : use enums instead of ints to store colors. Group all PTS settings ↵Jean-François Milants2021-08-281-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
* | Increment settings value, remove old hacky fixKieran Cawthray2021-07-251-1/+1
| |
* | Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray2021-07-201-8/+31
|\|
| * Multiple wakeup sources (#290)Kozova12021-07-141-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>
* | Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray2021-07-122-112/+46
|\|
| * Using littlefs (#438)joaquim.org2021-07-112-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
* | PineTimeStyle color picker add settings integrationKieran Cawthray2021-06-241-0/+31
| |
* | Revert "Reset"Kieran Cawthray2021-05-181-1/+9
| | | | | | | | This reverts commit 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d.