summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/StopWatch.cpp
AgeCommit message (Collapse)Author
2022-06-06Merge remote-tracking branch 'origin/develop' into analog24Michele Bini
2022-06-05Apply clang-format to all C++ filesFinlay Davidson
2022-05-12Use ..set_text_static when statically-allocated strings are usedMichele Bini
2022-05-12Use nullptr when aligning relative to parentMichele Bini
2022-04-29Fix large blacklevel step. Lower 25% of shades are now accessible.Riku Isokoski
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.
2022-04-25Tweak gamma on ST7789 and match UI colorsRiku Isokoski
This change will increase the color accuracy of the PineTime and make UI development with the simulator easier.
2022-04-25Use centisecondsRiku Isokoski
2022-04-25Stopwatch fixesRiku Isokoski
2022-04-18Replace lv_label_set_text where possibleRiku Isokoski
2022-01-26StopWatch: cleanup unused includes and use relative to src includesReinhold Gschweicher
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher
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.
2021-08-28Merge branch 'develop' into refresh_reworkRiku Isokoski
2021-07-19Set remaining default periods to LV_DISP_DEF_REFR_PERIODRiku Isokoski
2021-07-19Refresh reworkRiku Isokoski
2021-07-15New touch handler, with issuesRiku Isokoski
2021-07-04Improve stopwatch (#432)Riku Isokoski
* Improve stopwatch more * Make sure sleep gets reenabled * Cleanup and clang-format
2021-05-26Keep button visible, but disabledRiku Isokoski
2021-05-26improve ui and optimize codeRiku Isokoski
2021-05-03Fix a possible double free in StopWatch::Refresh.Martin Ashby
The lv_obj_del is called on btnStopLap when transitioning to the initial state, however the variable isn't then set to null. A subsequent call to Refresh would attempt to delete the already freed object. This could be triggered by stopping the stop watch, then pressing the physical button on the watch. Fixes https://github.com/JF002/InfiniTime/issues/315
2021-04-24Reformatted all the files according to clang-format styleAvamander
2021-04-20Fix formatting issue on the lap counter in Stopwatch (display lap counter on ↵Jean-François Milants
2 characters).
2021-04-19Fix formatting issue on the lap counter in Stopwatch.Jean-François Milants
2021-04-17Stopwatch: improve variable namingPeetz0r
msec => hundredths
2021-04-17Stopwatch: improve number formattingPeetz0r
2021-04-04Big UI and navigation RewriteJoaquim
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...
2021-03-20Reworked based on PR comments.panky-codes
2021-03-15Removed unused variables. Tested.panky-codes
2021-03-13Increased the size of the button and realigned the layout a bit. Tested.panky-codes
2021-03-13Added some comments for clarity. Ready for review. Tested.panky-codes
2021-03-13Stopwatch completed. Ready for PRpanky-codes
2021-03-13Adding laps completed.panky-codes
2021-03-12Laps introduced. Tested. Need to change the icon.panky-codes
2021-03-12Added a button for stop lap. Logic works. Need to implement symbol and ↵panky-codes
buffer for lap
2021-03-11Added play/pause button.panky-codes
2021-03-11Changed the clock source. Stopwatch works. Need to add butttons.panky-codes
2021-03-11Basic logic done. Need to change the timer source to get ms. Also need to ↵panky-codes
replace with paddle app in displayApp.cpp and ApplicationList.cpp later.