summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/settings
AgeCommit message (Collapse)AuthorFilesLines
2021-07-19Refresh reworkRiku Isokoski14-57/+14
2021-07-14Multiple wakeup sources (#290)Kozova12-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>
2021-07-07LVGL use system tickRiku Isokoski1-1/+1
2021-07-02Fixed a bunch of format specifiersAvamander1-3/+3
2021-06-29Add PineTimeStyle watchface (#334)kieranc1-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>
2021-06-10Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants2-3/+2
code is running from an IRQ before calling xQueueSendFromISR or xQueueSend)
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants1-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.
2021-05-15Merge pull request #298 from joaquimorg/StepsAppJF0023-7/+133
New Steps app
2021-05-02short vibration when enabling itpetter2-0/+6
2021-04-26Merge branch 'develop' ofJoaquim12-280/+251
https://github.com/JF002/InfiniTime into StepsApp
2021-04-24Changed access modified indentationAvamander6-12/+12
2021-04-24Reformatted all the files according to clang-format styleAvamander12-276/+251
2021-04-20Fix button size and default step goalJoaquim1-11/+7
2021-04-19New Steps appJoaquim3-1/+135
Settings to set the steps goal More detail in Motion app New 42px Font
2021-04-05array in SettingWakeUp wrong sizeJoaquim José Almeida Pereira1-1/+1
2021-04-04Big UI and navigation RewriteJoaquim12-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...