aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Timer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Correct tick overflow handling for timer resetmark90642025-11-061-1/+1
|
* Center text on timer button (#2229)Titus2025-05-161-2/+2
|
* Use DirtyValue for timermark90642024-09-141-8/+11
|
* Application selection at build timeJean-François Milants2023-11-191-1/+1
| | | | | | | 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.
* TimerController: Rename to TimerRiku Isokoski2023-04-161-8/+8
|
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-251-1/+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.
* TimerController: Use chrono for durationsRiku Isokoski2023-02-231-7/+8
|
* Centralize most color definitions (#1258)Riku Isokoski2022-08-161-1/+2
|
* Reset timer by long pressing on the button (#1214)Riku Isokoski2022-07-211-20/+80
| | | | | | | | * Reset timer by long pressing on the button * Consider press_lost as released Otherwise the bar would keep increasing if the finger slid off the button
* Timer: Replace time label with Counter control hiding functionalityRiku Isokoski2022-06-061-11/+11
|
* Use Counter widget in TimerRiku Isokoski2022-06-061-100/+36
|
* Force full screen refresh with a rounder functionRiku Isokoski2022-05-081-6/+0
| | | | | | When the screen switches, the full screen needs to be refreshed for the hardware scrolling to work. This was enforced with backgroundLabels, but is simpler to do with a rounder function.
* 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.
* Fix timer layoutRiku Isokoski2022-04-251-16/+11
|
* Replace lv_label_set_text where possibleRiku Isokoski2022-04-181-11/+11
|
* Timer App : add background label to ensure that the app will be displayed ↵Jean-François Milants2022-03-281-7/+12
| | | | | | correctly after a full refresh (HW scrolling transition). Code cleaning and rename methods.
* 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.
* Set remaining default periods to LV_DISP_DEF_REFR_PERIODRiku Isokoski2021-07-191-1/+1
|
* Refresh reworkRiku Isokoski2021-07-191-29/+17
|
* Fixed a bunch of format specifiersAvamander2021-07-021-3/+3
|
* Timer App (#355)Florian2021-05-201-0/+173
* 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