aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Tile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Dark App Launcher Tiles (#2294)Titus2025-06-291-2/+1
|
* Show alarm controller state in status iconJozef Mlich2025-01-051-1/+5
|
* Application selection at build timeJean-François Milants2023-11-191-1/+0
| | | | | | | A list of "user applications" is built at compile time. It contains all the info needed to create the application at runtime (ptr to a create() function) and to display the app in the application menu. All applications declare a TypeTrait with these information. When a new app must be loaded, DisplayApp first check if this app is a System app (in which case it creates it like it did before). If it's not a System app, it looks for the app in the list of User applications and creates it if it found it. Those changes allow to more easily add new app and to select which app must be built into the firmware. Switch to C++20 (and fix a few issues in SpiMaster.cpp and Watchdog.cpp.
* navigation: Add is available (#1847)JF2023-09-021-1/+1
| | | | | 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.
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-251-4/+1
|
* screens: Remove displayapp parameter from screenRiku Isokoski2023-02-251-1/+1
| | | | | | | | 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.
* displayapp: Make Ble references constRiku Isokoski2023-02-241-1/+1
|
* displayapp: Make Battery class references constRiku Isokoski2023-02-241-1/+1
|
* Update clang-tidy configuration and fix some warnings (#1474)Riku Isokoski2022-12-181-3/+5
| | | | | Don't enable coding conventions from unrelated projects. Only enable generic checks.
* Centralize most color definitions (#1258)Riku Isokoski2022-08-161-1/+2
|
* Automatic alignment with containersRiku Isokoski2022-08-021-1/+0
|
* Add status icons widgetRiku Isokoski2022-08-021-7/+12
|
* Add PageIndicator widget to reduce code duplication (#1218)Riku Isokoski2022-07-051-25/+2
| | | | * Move PageIndicator widget to its own files to reduce code duplication * Use uint8_t in PageIndicator
* Apply clang-format to all C++ filesFinlay Davidson2022-06-051-1/+2
|
* Force full screen refresh with a rounder functionRiku Isokoski2022-05-081-6/+0
| | | | | | When the screen switches, the full screen needs to be refreshed for the hardware scrolling to work. This was enforced with backgroundLabels, but is simpler to do with a rounder function.
* Fix large blacklevel step. Lower 25% of shades are now accessible.Riku Isokoski2022-04-291-2/+2
| | | | | | | | | There is a large step in brightness from level zero to level one. After experimenting with various ST7789 options, I found that decreasing VDV to 0x10 (-0.4V) fixes this issue. The gamma change reduced the average error in brightness, but with the underlying issue fixed, the gamma change has been reverted.
* New sharper batteryicon. Remove old unused batteryiconsRiku Isokoski2022-04-251-5/+5
|
* Fix warningsRiku Isokoski2022-04-251-3/+5
|
* Tweak gamma on ST7789 and match UI colorsRiku Isokoski2022-04-251-3/+3
| | | | | This change will increase the color accuracy of the PineTime and make UI development with the simulator easier.
* Replace lv_label_set_text where possibleRiku Isokoski2022-04-181-2/+2
|
* Merge branch 'statusBarTimeFormat' of https://github.com/mruss77/InfiniTime ↵Jean-François Milants2022-02-131-2/+2
|\ | | | | | | | | | | | | into mruss77-statusBarTimeFormat # Conflicts: # src/components/datetime/DateTimeController.cpp
| * Status bar displays time in 12 or 24 hour format based on settingsMark Russell2021-11-101-2/+2
| |
* | Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-3/+3
|/ | | | | | | Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
* Merge branch 'develop' into refresh_reworkRiku Isokoski2021-08-281-0/+1
|\
| * Merge branch 'develop' into new_touch_handlerRiku Isokoski2021-08-181-15/+15
| |\
| * \ Merge branch 'develop' into new_touch_handlerRiku Isokoski2021-08-101-8/+10
| |\ \
| * | | Restore Tile.cpp changesRiku Isokoski2021-07-191-3/+5
| | | |
| * | | Fix remaining known issuesRiku Isokoski2021-07-161-1/+2
| | | |
| * | | New touch handler, with issuesRiku Isokoski2021-07-151-6/+4
| | | |
* | | | Merge branch 'develop' into refresh_reworkRiku Isokoski2021-08-151-15/+15
|\ \ \ \ | | |_|/ | |/| |
| * | | Adjust inner padding in applistRiku Isokoski2021-08-151-1/+1
| | | |
| * | | Ui updateRiku Isokoski2021-08-151-15/+15
| | |/ | |/|
* | | Merge branch 'develop' into refresh_reworkRiku Isokoski2021-08-031-8/+10
|\| |
| * | Tile event handler : read the event data only if the event is a "value ↵Jean-François Milants2021-07-251-8/+10
| |/ | | | | | | changed event". LVGL sends many other event and some of them do not set the event data (global static variable) to a valid address, which may cause an invalid read. I noticed that when porting this class on RISC-V platform (BL602).
* / Refresh reworkRiku Isokoski2021-07-191-4/+0
|/
* LVGL use system tickRiku Isokoski2021-07-071-1/+1
|
* Reformatted all the files according to clang-format styleAvamander2021-04-241-34/+30
|
* Change animation direction in menusJoaquim José Almeida Pereira2021-04-151-1/+1
|
* Big UI and navigation RewriteJoaquim2021-04-041-22/+102
| | | | | | | | | | | 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...
* Multi face support, analog clock, 12/24 configJoaquim2021-02-241-1/+4
|
* CleanupJoaquim2021-02-011-3/+0
|
* LVGL v7.10.0Joaquim2021-01-281-5/+5
|
* Include cleanup: displayapp + screensokaestne2020-11-161-7/+1
|
* Switched from NULL to nullptrAvamander2020-10-041-1/+1
|
* Fixed all the includes that were broken due to the renamesAvamander2020-10-021-1/+2
|
* Renamed displayapp/Screens to displayapp/screensAvamander2020-10-021-0/+61