aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/ApplicationList.h
Commit message (Collapse)AuthorAgeFilesLines
* Show alarm controller state in status iconJozef Mlich2025-01-051-0/+2
|
* Watch face selection with CMakeJean-François Milants2023-12-231-1/+1
| | | | Move displayapp/Apps.h into a header only library (to make the integration easier in InfiniSim.
* Allow zero app to be selected at build timeJean-François Milants2023-12-101-1/+1
| | | | Fix 'nScreens' calculation in ApplicationList so that we can build the project with zero user app selected.
* Apply suggestionmark90642023-12-091-1/+1
|
* Fix calculation of number of app screensmark90642023-12-091-2/+1
|
* Fix code formattingJean-François Milants2023-11-191-1/+1
|
* Application selection at build timeJean-François Milants2023-11-191-28/+10
| | | | | | | 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-14/+17
| | | | | 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.
* motion: Disable Motion appRiku Isokoski2023-02-251-1/+3
| | | | | This is a debugging app, not useful for most people. Also remove the app icon.
* screens: Remove displayapp parameter from screenRiku Isokoski2023-02-251-0/+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-2/+2
|
* displayapp: Make Battery class references constRiku Isokoski2023-02-241-2/+2
|
* Add status icons widgetRiku Isokoski2022-08-021-0/+2
|
* Automatically create screens for applist and settings (#1153)Riku Isokoski2022-06-161-4/+27
| | | | | Apps and settings are now stored in a single array (two arrays in total). Replace magic values with appsPerScreen and entriesPerScreen.
* 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-2/+1
|
* Changed access modified indentationAvamander2021-04-241-2/+2
|
* Reformatted all the files according to clang-format styleAvamander2021-04-241-16/+16
|
* Big UI and navigation RewriteJoaquim2021-04-041-5/+9
| | | | | | | | | | | 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/+5
|
* Include cleanup: displayapp + screensokaestne2020-11-161-6/+1
|
* Fixed all the includes that were broken due to the renamesAvamander2020-10-021-2/+3
|
* Renamed displayapp/Screens to displayapp/screensAvamander2020-10-021-0/+32