aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens
Commit message (Collapse)AuthorAgeFilesLines
* Initial commitKieran Cawthray2023-11-111-5/+9
|
* navigation: Add is available (#1847)JF2023-09-026-18/+40
| | | | | Navigation app now needs 2 images to be loaded from the resources on the external filesystem. This PR adds an 'enabled' field to the Applications struct. This field is true for all applications expect for Navigation which calls Navigation::IsAvailable(). This methods returns true if the 2 files are available in the resources. The application list disables the application (draws it in grey, disables the touch callback) if the enable flag is not set.
* navigation: Move font to external memory (#1838)JF2023-09-022-100/+169
| | | | | | | | | | The TTF font used by the navigation app is ~20KB and is stored in internal flash memory. To free this space, the TTF font is now converted in 2 "atlas pictures" (pictures that contain multiple concatenated images) stored in the external flash memory. The navigation app now accesses one of those 2 files and apply an offset to display the desired picture. The corresponding documentation has also been updated. Add comments about the layout of the pictures that contain the icon and about the indexing of those icons. In documentation (buildAndProgram.md), edit the section about the debug compilation mode. Remove the part about removing the Navigation app to free some memory (since it's not relevant anymore) and explain how to selectively build parts of the firmware in Debug mode.
* lowersleep: Implement Lower to Sleep functionality (#827)FintasticMan2023-08-272-4/+5
|
* watchfaceanalog: Background in lvgl (#1824)Max Friedrich2023-08-152-5/+40
| | | | | | | | | | | * change background image to widgets This commit removes the background image for the WatchFaceAnalog and replaces it with lvgl widgets. It aims to keep the original look. * remove comments and background image --------- Co-authored-by: minacode <minamoto9@web.de>
* Fix TypoTimothy2023-06-172-8/+8
| | | | label_battery_vallue > label_battery_value
* PineTimeStyle weather display (#1459)kieranc2023-06-045-36/+145
| | | | | Weather display for PineTimeStyle Documentation : https://wiki.pine64.org/wiki/PineTimeStyle and https://wiki.pine64.org/wiki/Infinitime-Weather
* Fix code formattingJean-François Milants2023-05-181-2/+1
|
* Enable malloc error and stack overflow error detection in FreeRTOS. Count ↵Jean-François Milants2023-05-181-10/+13
| | | | them and display them in the SystemInfo app.
* Refactor watch face to enum (#1339)Max Friedrich2023-04-302-10/+12
| | | | | | | change watch face from int to enum --------- Co-authored-by: minacode <minamoto9@web.de>
* Refactor, document and fix the Watchdog driver (#1710)JF2023-04-301-10/+10
| | | | | | | * Refactor and document the Watchdog driver to make it more readable. Fix the configuration of the behaviours configuration that was not properly implemented (but it didn't cause any side effect since the correct value was eventually set in NRF_WDT->CONFIG). Fix the wrong interpretation of the reset reasons caused by implicit conversions of int to bool.
* TimerController: Rename to TimerRiku Isokoski2023-04-162-11/+11
|
* Watchfaces: Assume motionsensor is okRiku Isokoski2023-04-1610-15/+5
| | | | The watch face shouldn't and doesn't start before the sensor is ready.
* stopwatch: Add hours tracking (#1692)fossison2023-04-162-4/+26
| | | | | | | | Stopwatch application : add hours tracking --------- Co-authored-by: fossison <fossison@mailbox.org> Co-authored-by: Jean-François Milants <jf@codingfield.com>
* WatchFaceTerminal: Simplify time update checkRiku Isokoski2023-04-022-43/+24
|
* WatchFaceG7710: Simplify time update checkRiku Isokoski2023-04-022-46/+28
|
* WatchFaceInfineat: Simplify time update checkRiku Isokoski2023-04-022-50/+20
|
* WatchFaceDigital: Simplify update checkRiku Isokoski2023-04-022-39/+25
|
* dirtyvalue: Move to src/utilityFinlay Davidson2023-03-277-88/+59
|
* inactivity: Use LVGL inactivity timersRiku Isokoski2023-03-181-1/+0
| | | | | | | | | | | | | | | | | Replace custom FreeRTOS inactivity timers with LVGL inactivity timers. DisplayApp: Trigger display activity on timer done. inactivity: Add additional checks The backlight could be turned on by RestoreBrightness() on ble connect event. inactivity: Trigger activity on screen switch A notification timing out could put the watch to sleep immediately. While this could be ideal behaviour, it was caused by delay in processing the EnableSleeping event and pushing RestoreBrightness to DisplayApp.
* WatchFaceAnalog: Simplify date update checkRiku Isokoski2023-03-152-15/+5
|
* shakewake: Fix names according to style guideFinlay Davidson2023-03-091-4/+4
|
* PTS: Fix double tap behaviour on settings screen (#1669)kieranc2023-03-041-2/+2
| | | | Fixes #1467 "Double tapping PineTimeStyle steps style button sends watch to sleep" Double tap is disabled on the color settings screen by checking if the Rnd button is visible, but this didn't work for the options screen as the Rnd button isn't visible. I've changed it to check if the Close button is visible instead, which is used on both settings screens, and resolves the bug. I also changed the button used to disable the long press behaviour which was an as-yet-undiscovered bug which would have allowed the long press action to be used when the options screen was visible.
* Add low battery indicator to StatusIcons, digital and analog watchfacesRiku Isokoski2023-03-025-0/+19
| | | | Define deepOrange color in InfiniTimeTheme
* Revert "added low battery message"Riku Isokoski2023-03-021-1/+1
| | | | This reverts PR https://github.com/InfiniTimeOrg/InfiniTime/pull/1352
* infineat: Create colors at compile time.Riku Isokoski2023-02-262-49/+119
| | | | lv_color_hex can't be evaluated at compile time, but LV_COLOR_MAKE can.
* motion: Disable Motion appRiku Isokoski2023-02-252-2/+3
| | | | | This is a debugging app, not useful for most people. Also remove the app icon.
* screens: Add notes about using C++20 featuresRiku Isokoski2023-02-252-0/+2
|
* date: Remove date libRiku Isokoski2023-02-257-79/+38
| | | | DateTimeController can provide everything we need.
* DateTimeController: Remove SetTime tick parameterRiku Isokoski2023-02-252-11/+3
| | | | | | The systick doesn't need to be updated when setting time. Also removed unused nrf_rtc.h includes.
* watchdog: Replace WatchdogView with const WatchdogRiku Isokoski2023-02-252-4/+4
|
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-2571-130/+75
|
* screens: Remove explicit Screen constructorsRiku Isokoski2023-02-2533-44/+32
| | | | | This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
* screens: Remove displayapp parameter from screenRiku Isokoski2023-02-2530-29/+44
| | | | | | | | The DisplayApp class isn't used in the Screen base class and most screens, so requiring it is pointless. In this commit, DisplayApp pointers were added to screens which use it and the explicit Screen constructor was removed in those screens.
* SystemTask: Move MotorController to DisplayAppRiku Isokoski2023-02-252-3/+8
| | | | | Vibrations should be associated with something happening on the UI. Therefore SystemTask should not be controlling the motor.
* displayapp: Make Ble references constRiku Isokoski2023-02-2424-33/+33
|
* displayapp: Make Cst816S references constRiku Isokoski2023-02-242-3/+3
|
* displayapp: Make Battery class references constRiku Isokoski2023-02-2424-33/+33
|
* TimerController: Use chrono for durationsRiku Isokoski2023-02-231-7/+8
|
* WatchfaceAnalog: add ble icon (#1430)Itai Nelken2023-02-212-0/+15
|
* clang-format: Always break template declarationsRiku Isokoski2023-02-162-2/+4
| | | | | I find this format easier to read, because the definitions are at the expected indentation, making it easier to find what I'm looking for.
* SettingSteps: Update UIRiku Isokoski2023-02-121-5/+13
| | | | Bigger buttons, use new color.
* SettingSteps: Improve goal settingRiku Isokoski2023-02-121-14/+18
| | | | | | Long pressing will change the value by 1000, whereas clicks will change it by 500. This allows setting more precise values, while also making it easier to set any value.
* Steps: Update UIRiku Isokoski2023-02-011-5/+7
|
* stopwatch: Update UIRiku Isokoski2023-02-012-52/+90
| | | | | | The time used to be yellow while paused. Changing it to white made the paused state less distinct. Blinking the time while paused makes the state distinct again.
* SettingChimes: Use CheckboxListRiku Isokoski2023-01-292-66/+48
|
* SettingBluetooth: Use CheckboxListRiku Isokoski2023-01-292-79/+42
|
* infineat: Remove use with builtin fontsRiku Isokoski2023-01-261-35/+8
| | | | The watchface cannot be enabled without the correct font anyway.
* infineat: Battery display simplificationRiku Isokoski2023-01-261-6/+2
|
* infineat: Use set_text_static where applicableRiku Isokoski2023-01-261-8/+8
|