aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/settings
Commit message (Collapse)AuthorAgeFilesLines
* Multiple wakeup sources (#290)Kozova12021-07-142-32/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* LVGL use system tickRiku Isokoski2021-07-071-1/+1
|
* Fixed a bunch of format specifiersAvamander2021-07-021-3/+3
|
* Add PineTimeStyle watchface (#334)kieranc2021-06-291-0/+9
| | | | | | | | | | | | | * PineTimeStyle * Move GPL license header * Add step count gauge - replaces heartrate in sidebar * Enable 12/24h functionality * Set step gauge outer to be white when step goal is reached * Add font source file * Move static needle_colors array to member variable * Add documentation on generating a font * Replace .ttf with Google version, add link to font page Co-authored-by: JF002 <JF002@users.noreply.github.com>
* Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants2021-06-102-3/+2
| | | | code is running from an IRQ before calling xQueueSendFromISR or xQueueSend)
* Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2021-06-061-2/+2
| | | | variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
* Merge pull request #298 from joaquimorg/StepsAppJF0022021-05-153-7/+133
|\ | | | | New Steps app
| * Merge branch 'develop' ofJoaquim2021-04-2612-280/+251
| |\ | | | | | | | | | https://github.com/JF002/InfiniTime into StepsApp
| * | Fix button size and default step goalJoaquim2021-04-201-11/+7
| | |
| * | New Steps appJoaquim2021-04-193-1/+135
| | | | | | | | | | | | | | | | | | Settings to set the steps goal More detail in Motion app New 42px Font
* | | short vibration when enabling itpetter2021-05-022-0/+6
| |/ |/|
* | Changed access modified indentationAvamander2021-04-246-12/+12
| |
* | Reformatted all the files according to clang-format styleAvamander2021-04-2412-276/+251
|/
* array in SettingWakeUp wrong sizeJoaquim José Almeida Pereira2021-04-051-1/+1
|
* Big UI and navigation RewriteJoaquim2021-04-0412-0/+853
new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...