aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/DisplayApp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* LVGL / FS : Initialize the LVGL FS driver in LittleVgl (instead of FS).Jean-François Milants2023-02-261-1/+1
| | | | | | 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.
* motion: Disable Motion appRiku Isokoski2023-02-251-3/+3
| | | | | This is a debugging app, not useful for most people. Also remove the app icon.
* SystemTask: Move lcd to DisplayAppRiku Isokoski2023-02-251-0/+3
| | | | SystemTask should never write to the lcd
* LittleVgl: Instantiate in DisplayAppRiku Isokoski2023-02-251-3/+4
| | | | | | | 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-251-1/+1
|
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-251-26/+24
|
* SystemTask: Move MotorController to DisplayAppRiku Isokoski2023-02-251-2/+11
| | | | | 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-241-1/+1
|
* displayapp: Make Cst816S references constRiku Isokoski2023-02-241-1/+1
|
* displayapp: Make Battery class references constRiku Isokoski2023-02-241-1/+1
|
* touchhandler: Remove LVGL dependencyRiku Isokoski2023-02-241-2/+3
| | | | Move LVGL specific code to the LittleVgl class
* Combine Date and Time Settings (#1465)John Quigley2023-01-141-7/+3
| | | | | | 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>
* Fix returning to the same screenRiku Isokoski2023-01-051-2/+7
|
* Implement a return app stackRiku Isokoski2023-01-051-50/+57
| | | | | | 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-041-0/+1
| | | | | Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
* Update clang-tidy configuration and fix some warnings (#1474)Riku Isokoski2022-12-181-6/+4
| | | | | Don't enable coding conventions from unrelated projects. Only enable generic checks.
* Watch face settings : disable watch faces that are not available (external ↵Jean-François Milants2022-10-111-1/+1
| | | | resources are not installed).
* Fix clang-tidy warningsRiku Isokoski2022-10-101-1/+1
|
* Brightness management in DisplayApp : do not allow the brightness level OFF ↵Jean-François Milants2022-10-021-4/+13
| | | | when loading app and going to running mode. Such issue could occur in case of inconsistent or corrupted settings.
* Fix formattingJean-François Milants2022-09-111-1/+1
|
* Infineat : Add support for external resources, and read the images and fonts ↵Jean-François Milants2022-09-111-3/+6
| | | | from the ilesystem
* Use Counter widget in AlarmRiku Isokoski2022-08-021-1/+1
|
* Add status icons widgetRiku Isokoski2022-08-021-2/+4
|
* Reset timer by long pressing on the button (#1214)Riku Isokoski2022-07-211-1/+1
| | | | | | | | * Reset timer by long pressing on the button * Consider press_lost as released Otherwise the bar would keep increasing if the finger slid off the button
* Always restore brightness on app switch (#1213)Riku Isokoski2022-07-211-1/+2
|
* Remove backup brightness feature (#1180)Riku Isokoski2022-06-181-11/+10
| | | This feature is not needed and is probably more likely to cause issues. It's better to just use brightnessController.Set(settingsController.GetBrightness());
* remove unused Meter.cpp and Meter.h (#1171)mabuch2022-06-051-1/+0
|
* remove unused Brightness App (#1170)mabuch2022-06-051-1/+0
|
* Apply clang-format to all C++ filesFinlay Davidson2022-06-051-8/+26
|
* Remove lcd from DisplayAppRiku Isokoski2022-05-081-2/+0
|
* Let TouchHandler return TouchEvents instead of driver specific enumReinhold Gschweicher2022-04-131-23/+1
| | | | | | | | Let the TouchHandler::GestureGet() function return a TouchEvent instead of the touchpanel-driver specific enum. This helps to move the driver specific helper function `ConvertGesture` from `DisplayApp` into `TouchHandler`.
* Replace airplane mode with a bluetooth toggleRiku Isokoski2022-04-021-3/+3
|
* Timer App : add background label to ensure that the app will be displayed ↵Jean-François Milants2022-03-281-1/+1
| | | | | | correctly after a full refresh (HW scrolling transition). Code cleaning and rename methods.
* DisplayApp : Call the event handler of the current app before loading the ↵Jean-François Milants2022-03-281-4/+4
| | | | new one. This way, we ensure that lv_task_handler() is called before sending event to the newly loaded app.
* Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants2022-02-201-2/+2
| | | | | | | | | | | | | into evergreen22-airplane-mode Apply a few changes that were requested in the PR during the review. # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp
* Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants2022-02-201-0/+8
|\ | | | | | | | | | | | | | | | | | | | | into evergreen22-airplane-mode # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp
| * Add airplane mode featureJames A. Jerkins2021-12-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Implements 'Airplane mode' feature to disable and enable bluetooth/ble Adds airplaneMode as a non-persisted setting Adds a setting menu for switching airplane mode on and off Displays an airplane symbol on the Digital watch face and the PineTimeStyle watch face when airplane mode is enabled Always enables bluetooth/ble on boot (disable airplane mode) Alphabetizes the settings menu options Style cleanups Closes #632
* | Provide reference to BrightnessController in DisplayAppReinhold Gschweicher2022-02-191-0/+2
| | | | | | | | | | | | | | | | For the simulator I need a way to get to the brightnessController object and handle the set brightness-levels accoringly. This is done by the constructor expecting a brightnessController object instead of initializing one itself
* | Improved alarm alert handlingRiku Isokoski2022-02-131-1/+1
| |
* | Added alarm 12 hour interfaceEli Weiss2022-01-311-2/+2
| |
* | Added 12 hour set timeEli Weiss2022-01-311-1/+1
| |
* | Merge pull request #903 from Riksu9000/improved_notif_timeoutJF2022-01-261-2/+2
|\ \ | | | | | | Improved notification timeout
| * | Improved notification timeoutRiku Isokoski2022-01-011-2/+2
| | |
* | | Merge branch 'ShakeWake' of https://github.com/geekbozu/InfiniTime into ↵Jean-François Milants2022-01-041-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | geekbozu-ShakeWake # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/screens/settings/Settings.cpp
| * | | Better Sensitivity UI, Calibration button addedTim Keller2022-01-041-1/+1
| | | |
| * | | Add start of settings app for senstivity.Tim Keller2022-01-041-0/+5
| |/ / | | | | | | | | | | | | really just debugging. I want to make it more configurable then high med low. Position of setting needs a new location...dynamicly adding it currently at the end. Which honestly im fine with.
* | | resolve conflictsSteveAmor2022-01-021-3/+0
| | |
* | | resolves conflictsSteveAmor2022-01-021-11/+45
|\| |
| * | Merge pull request #718 from kieranc/pts-settingsJF2021-12-301-9/+4
| |\ \ | | |/ | |/| Integrate color picker into PineTimeStyle watchface
| | * Merge remote-tracking branch 'upstream/develop' into pts-settingsKieran Cawthray2021-12-091-1/+11
| | |\