aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "added low battery message"Riku Isokoski2023-03-021-1/+1
| | | | This reverts PR https://github.com/InfiniTimeOrg/InfiniTime/pull/1352
* LVGL / FS : Initialize the LVGL FS driver in LittleVgl (instead of FS).Jean-François Milants2023-02-263-3/+62
| | | | | | Previously, the LVGL driver for the filesystem was initialized in the class FS. However, since 6f942e2, the order of the initializations was incorrect : the driver was initialized (FS::LVGLFileSystemInit()) before LVGL (LittleVgl.Init()), which means that the driver registration was probably dropped when LVGL was initialized. The LVGL driver is now initialized in LittleVgl.Init(), which seems to make much more sense, since all LVGL drivers are initialized there. This way, we ensure that the initialization of the drivers is consistent.
* 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.
* Apps: Remove Weather from app enumRiku Isokoski2023-02-261-1/+0
| | | | Weather app is not fully implemented and is causing a warning
* motion: Disable Motion appRiku Isokoski2023-02-254-6/+7
| | | | | 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-259-81/+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.
* SystemTask: Move lcd to DisplayAppRiku Isokoski2023-02-251-0/+3
| | | | SystemTask should never write to the lcd
* LittleVgl: Instantiate in DisplayAppRiku Isokoski2023-02-255-50/+5
| | | | | | | LVGL is only a part of the main DisplayApp. Other "DisplayApps" can be implemented without LVGL. DummyLittleVgl isn't needed anymore and has been removed
* watchdog: Replace WatchdogView with const WatchdogRiku Isokoski2023-02-256-11/+11
|
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-2572-156/+99
|
* 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-254-7/+22
| | | | | 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-2430-42/+42
|
* displayapp: Make Cst816S references constRiku Isokoski2023-02-246-8/+8
|
* displayapp: Make Battery class references constRiku Isokoski2023-02-2430-41/+41
|
* TouchHandler: Do not store touch panel referenceRiku Isokoski2023-02-241-1/+1
|
* touchhandler: Remove LVGL dependencyRiku Isokoski2023-02-243-11/+32
| | | | Move LVGL specific code to the LittleVgl class
* LittleVgl: Remove unused Cst816S referenceRiku Isokoski2023-02-233-7/+3
|
* 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-013-52/+91
| | | | | | 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
|
* LittleVgl: Small cleanupRiku Isokoski2023-01-292-10/+6
|
* theme: Replace LV_DPX with a constexpr variantRiku Isokoski2023-01-291-0/+13
|
* theme: Cleanup unused stylesRiku Isokoski2023-01-291-40/+6
| | | | | Condensed paddings with pad_all No visual changes
* theme: Remove unused parametersRiku Isokoski2023-01-293-28/+10
|
* 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
|
* infineat: Remove batterystyleRiku Isokoski2023-01-262-13/+7
| | | | Setting local style is more efficient
* infineat: Remove unnecessary background colorizationRiku Isokoski2023-01-262-8/+0
|
* infineat: Optimize lv_linesRiku Isokoski2023-01-262-186/+33
| | | | Reduce code duplication massively
* src: Enable unused parameter warningRiku Isokoski2023-01-247-28/+26
| | | | | | Fix warnings. Some clang-formatting was necessary. DebugPins is unused and was removed.
* Combine Date and Time Settings (#1465)John Quigley2023-01-1411-35/+167
| | | | | | Replace separate SettingSetDate and SettingSetTime with a combined screenlist. Add DotIndicators. Similar to PageIndicator, but for use when separating screens instead of pages of a list. Co-authored-by: Riku Isokoski <riksu9000@gmail.com>
* List: Update list style and make it grayRiku Isokoski2023-01-121-23/+27
|
* SetingTimeFormat use CheckboxList, reduce duplicationRiku Isokoski2023-01-123-70/+48
|
* Format header filesFinlay Davidson2023-01-0921-0/+38
| | | | In my PR updating clang-format, I forgot to also format the headers.
* Fix returning to the same screenRiku Isokoski2023-01-051-2/+7
|
* Implement a return app stackRiku Isokoski2023-01-053-54/+66
| | | | | | Each opened app (screen) is pushed on a stack, which is then popped from when returning instead of hard coded "previous apps". Return swipe and refresh directions are automatically determined from the app transition.
* Update clang-{format,tidy} to 14Finlay Davidson2023-01-044-0/+5
| | | | | Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
* Revert "prepare cmake unity build"Riku Isokoski2022-12-311-6/+0
| | | | This reverts commit 21f3bd708261ece47096961039e65d5b6f113c73.
* prepare cmake unity buildtnixeu2022-12-271-0/+6
| | | | Exclude files from unity build which currently cause compile erros because of redefinitions.