aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/StopWatch.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix formattingJean-François Milants2025-11-041-0/+1
|
* fixed irregular pause mode blinking at clock wraparoundcodingjourney2025-11-041-1/+1
|
* fixed a type declarationcodingjourney2025-11-041-1/+1
|
* tightened declarations of integer fieldscodingjourney2025-11-041-6/+6
|
* prevent unnecessary redrawing of the time labelcodingjourney2025-11-041-0/+3
|
* length of lap list adapting to available spacecodingjourney2025-11-041-1/+1
|
* improved layout, improved re-alignment of time fieldscodingjourney2025-11-041-1/+3
|
* common method for entering the Paused statecodingjourney2025-11-041-0/+2
|
* fixed issues found by the test-format CI jobcodingjourney2025-11-041-4/+2
|
* StopWatch: add persistenceJan Hustak2025-11-041-59/+47
| | | | | # Conflicts: # src/displayapp/screens/StopWatch.h
* navigation: fix greying out the app icon if not enabledHeiko Stuebner2025-07-031-0/+4
| | | | | | | | | | | | | | | | Commit 0aead42fdf51 ("navigation: Add is available (#1847)") added the ability to draw the app icon in grey and in a disabled state when some prerequisits were not met. Only the Navigation app was using this mechanism due to its icons being stored in the external memory and possibly missing. Commit 63e0c4f4efb0 ("Application selection at build time") broke this by always setting the state as true: for (const auto& userApp : userApps) { apps[i++] = Screens::Tile::Applications {userApp.icon, userApp.app, true}; } Fix this by creating an isAvailable() strcuture in the app classes, similar to how the Watchfaces handle the same problem of checking availability.
* Refactor doNotGoToSleep to a wakelock countermark90642024-09-211-1/+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.
* Fix code formattingJean-François Milants2023-11-191-0/+2
|
* Application selection at build timeJean-François Milants2023-11-191-37/+52
| | | | | | | 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.
* stopwatch: Add hours tracking (#1692)fossison2023-04-161-0/+2
| | | | | | | | Stopwatch application : add hours tracking --------- Co-authored-by: fossison <fossison@mailbox.org> Co-authored-by: Jean-François Milants <jf@codingfield.com>
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-251-1/+1
|
* stopwatch: Update UIRiku Isokoski2023-02-011-3/+8
| | | | | | The time used to be yellow while paused. Changing it to white made the paused state less distinct. Blinking the time while paused makes the state distinct again.
* Simplified stopwatch lap bufferRiku Isokoski2022-08-021-50/+8
| | | | Overriding the earlier laps doesn't seem like a good idea.
* Stopwatch fixesRiku Isokoski2022-04-251-3/+3
|
* StopWatch: cleanup unused includes and use relative to src includesReinhold Gschweicher2022-01-261-1/+1
|
* 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/+3
|
* Improve stopwatch (#432)Riku Isokoski2021-07-041-6/+10
| | | | | | | * Improve stopwatch more * Make sure sleep gets reenabled * Cleanup and clang-format
* Stopwatch: improve variable namingPeetz0r2021-04-171-2/+2
| | | | msec => hundredths
* Big UI and navigation RewriteJoaquim2021-04-041-1/+1
| | | | | | | | | | | 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...
* Reworked based on PR comments.panky-codes2021-03-201-12/+12
|
* Removed unused variables. Tested.panky-codes2021-03-151-3/+2
|
* Added some comments for clarity. Ready for review. Tested.panky-codes2021-03-131-2/+2
|
* Adding laps completed.panky-codes2021-03-131-2/+9
|
* Laps introduced. Tested. Need to change the icon.panky-codes2021-03-121-1/+37
|
* Added a button for stop lap. Logic works. Need to implement symbol and ↵panky-codes2021-03-121-2/+11
| | | | buffer for lap
* Added play/pause button.panky-codes2021-03-111-2/+4
|
* Changed the clock source. Stopwatch works. Need to add butttons.panky-codes2021-03-111-4/+4
|
* Basic logic done. Need to change the timer source to get ms. Also need to ↵panky-codes2021-03-111-0/+33
replace with paddle app in displayApp.cpp and ApplicationList.cpp later.