aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/settings
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'JF002:develop' into set-datetime-manuallyTim2021-08-086-51/+40
|\
| * Add new unique icons for some appsRiku Isokoski2021-07-253-5/+5
| |
| * Code cleanup (#466)Riku Isokoski2021-07-252-6/+1
| | | | | | | | * Code cleanup * Remove override again
| * Merge branch 'fix_touchevent_tap' of git://github.com/Riksu9000/InfiniTime ↵Jean-François Milants2021-07-241-8/+1
| |\ | | | | | | | | | | | | | | | | | | into Riksu9000-fix_touchevent_tap # Conflicts: # src/displayapp/DisplayApp.cpp
| | * Merge branch 'develop' into fix_touchevent_tapRiku Isokoski2021-07-145-9/+17
| | |\
| | * | Fix touchevent tapRiku Isokoski2021-06-111-8/+1
| | | |
| * | | 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
| | |
* | | Code optimizations in SettingSetDate and SettingSetTimeTim Taenny2021-07-092-13/+7
| | | | | | | | | | | | | | | Instead of calling lv_obj_align after each button click, the labels have their auto_realign property set.
* | | Code optimizations in SettingSetTimeTim Taenny2021-07-091-9/+17
| | | | | | | | | | | | | | | The positions of the labels are controlled by #define's, just like in SettingSetDate.
* | | Modified Settings menu as per suggestionTim Taenny2021-07-091-4/+4
| | | | | | | | | | | | | | | Moved "Set date" and "Set time" to the second page of the Settings menu.
* | | Code optimizations in SettingSetDateTim Taenny2021-07-091-41/+2
| | | | | | | | | | | | | | | Using static method of DateTimeController for retrieving month texts instead of implementing it in SettingSetDate again.
* | | Code optimizations in SettingSetTimeTim Taenny2021-07-091-24/+10
| | |
* | | Code optimizations in SettingSetDateTim Taenny2021-07-091-28/+12
| | |
* | | Added new menu entries to Settings pagetimaios2021-07-092-3/+17
| | |
* | | Added new screen: SettingSetDatetimaios2021-07-092-0/+317
| | |
* | | Added new screen: SettingSetTimetimaios2021-07-092-0/+212
|/ /
* | 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...