aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/ApplicationList.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Show alarm controller state in status iconJozef Mlich2025-01-051-0/+3
|
* Fix code formattingJean-François Milants2023-11-191-5/+5
|
* Application selection at build timeJean-François Milants2023-11-191-8/+16
| | | | | | | 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-3/+3
| | | | | 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 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
|
* Add status icons widgetRiku Isokoski2022-08-021-1/+10
|
* Automatically create screens for applist and settings (#1153)Riku Isokoski2022-06-161-52/+20
| | | | | Apps and settings are now stored in a single array (two arrays in total). Replace magic values with appsPerScreen and entriesPerScreen.
* Move basic apps to the top of the app listRiku Isokoski2022-06-061-4/+4
|
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-4/+4
| | | | | | | 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.
* Created basic alarm appMark Russell2021-09-101-1/+1
|
* Merge branch 'develop' into refresh_reworkRiku Isokoski2021-08-031-1/+1
|\
| * Add new unique icons for some appsRiku Isokoski2021-07-251-1/+1
| |
* | Refresh reworkRiku Isokoski2021-07-191-6/+0
|/
* and metronome icon (#439)Bryton Hall2021-07-021-1/+1
| | | * add drum icon for metronome app
* add basic metronome app (#409)Bryton Hall2021-06-121-1/+1
| | | | | | | | | | | | | | | * add basic metronome app * add bpb, tap to bpm, update widgets * use event pressed for bpm tap * move case statement break to the right place * narrow bpm selection range, override touch events * fix arc knob style * re-enable sleeping in destructor
* Timer App (#355)Florian2021-05-201-1/+1
| | | | | | | | | | | * built timer app * Style improvements * making sure buttons stay hidden when the app is reopened and reappear after the timer runs out * more sensible calculations of time deltas. eliminated that mysterious scaling factor * changing the timer icon
* Merge branch 'develop' ofJoaquim2021-04-261-40/+38
|\ | | | | | | https://github.com/JF002/InfiniTime into StepsApp
| * Reformatted all the files according to clang-format styleAvamander2021-04-241-40/+38
| |
* | New Steps appJoaquim2021-04-191-2/+2
|/ | | | | | Settings to set the steps goal More detail in Motion app New 42px Font
* Merge branch 'develop' into motion-sensorJean-François Milants2021-04-091-27/+25
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/DisplayApp.h # src/displayapp/lv_pinetime_theme.c # src/displayapp/screens/ApplicationList.cpp # src/drivers/TwiMaster.cpp # src/systemtask/SystemTask.h
| * Big UI and navigation RewriteJoaquim2021-04-041-26/+24
| | | | | | | | | | | | | | | | | | | | | | 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...
* | First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants2021-04-041-2/+2
|/ | | | wrist rotation + app to see the value of the 3 axis in "real time".
* replaced all unique_ptr.reset calls with std::make_uniqueNiall Cooling2021-03-221-3/+3
|
* Merged upstreampanky-codes2021-03-201-6/+11
|\
| * Multi face support, analog clock, 12/24 configJoaquim2021-02-241-6/+11
| |
* | Reworked based on PR comments.panky-codes2021-03-201-5/+4
| |
* | Stopwatch completed. Ready for PRpanky-codes2021-03-131-2/+2
| |
* | Basic logic done. Need to change the timer source to get ms. Also need to ↵panky-codes2021-03-111-1/+2
|/ | | | replace with paddle app in displayApp.cpp and ApplicationList.cpp later.
* Merge branch 'LVGL7' of https://github.com/joaquimorg/Pinetime into ↵Jean-François Milants2021-02-231-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | joaquimorg-LVGL7 # Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.cpp # src/displayapp/screens/Modal.cpp # src/displayapp/screens/Modal.h # src/displayapp/screens/Notifications.cpp # src/displayapp/screens/Tile.h
| * CleanupJoaquim2021-02-011-6/+9
| |
| * LVGL v7.10.0Joaquim2021-01-281-45/+43
|/
* Merge branch piggz/nav into develop:Jean-François Milants2021-01-201-1/+1
| | | | | - fix conflict - add a icon for the navigation app.
* First implementation of the HR sensor using 100% foss code (ported from waspos)Jean-François Milants2021-01-101-1/+1
|
* adds 2048 clone gameJed2021-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | styles table reads touch events allows moving tiles allows merging tiles improves tile movement allows merging tiles adds score display implements color edit comments adjust game logic disallows double merges
* Update ApplicationList.cppZephyrLabs2020-12-031-0/+1
| | | | added paddle app
* Addition of new files in MakeListZephyrLabs2020-12-031-1/+1
| | | | added Paddle.cpp and Paddle.h
* Include cleanup: displayapp + screensokaestne2020-11-161-4/+5
|
* Integrate new notification UI with notifications coming from BLEJF2020-10-201-3/+3
|
* [WIP] Add new notification UI that use HW scrolling effects. Both ↵JF2020-10-191-2/+2
| | | | notification apps are available in the menu, we can compare them.
* [WIP] New notification app that uses software scrolling effect.JF2020-10-181-1/+1
|
* Fixed all the includes that were broken due to the renamesAvamander2020-10-021-1/+1
|
* Renamed displayapp/Screens to displayapp/screensAvamander2020-10-021-0/+82