aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Navigation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Tidy upKieran Cawthray2023-11-111-4/+2
|
* Initial commitKieran Cawthray2023-11-111-5/+9
|
* navigation: Add is available (#1847)JF2023-09-021-0/+16
| | | | | 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-021-98/+167
| | | | | | | | | | 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.
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-251-2/+1
|
* screens: Remove explicit Screen constructorsRiku Isokoski2023-02-251-1/+1
| | | | | This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
* Centralize most color definitions (#1258)Riku Isokoski2022-08-161-1/+2
|
* Tweak gamma on ST7789 and match UI colorsRiku Isokoski2022-04-251-1/+1
| | | | | 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-4/+4
|
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-2/+2
| | | | | | | 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.
* Refresh reworkRiku Isokoski2021-07-191-5/+4
|
* Navigation app: reduce memory usage (#362)JF0022021-06-011-23/+114
| | | | | | | * Navigation app: - Renaming and reformatting according to coding conventions - declare iconMap as constexpr and use char* instead of std::string This reduces the flash usage from 424644B to 419344B (-5300B)!
* Merge pull request #275 from panos/navigation-textJF0022021-05-021-1/+1
|\ | | | | Changed text in Navigation
| * Changed text in NavigationPanagiotis Vasilopoulos2021-04-171-1/+1
| |
* | Reformatted all the files according to clang-format styleAvamander2021-04-241-10/+10
|/
* Big UI and navigation RewriteJoaquim2021-04-041-43/+34
| | | | | | | | | | | 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...
* LVGL v7.10.0Joaquim2021-01-281-3/+0
|
* Merge branch piggz/nav into develop:Jean-François Milants2021-01-201-0/+120
- fix conflict - add a icon for the navigation app.