summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Timer.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-08-16Centralize most color definitions (#1258)Riku Isokoski1-1/+2
2022-07-21Reset timer by long pressing on the button (#1214)Riku Isokoski1-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
2022-06-06Timer: Replace time label with Counter control hiding functionalityRiku Isokoski1-11/+11
2022-06-06Use Counter widget in TimerRiku Isokoski1-100/+36
2022-05-08Force full screen refresh with a rounder functionRiku Isokoski1-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.
2022-04-25Tweak gamma on ST7789 and match UI colorsRiku Isokoski1-1/+1
This change will increase the color accuracy of the PineTime and make UI development with the simulator easier.
2022-04-25Fix timer layoutRiku Isokoski1-16/+11
2022-04-18Replace lv_label_set_text where possibleRiku Isokoski1-11/+11
2022-03-28Timer App : add background label to ensure that the app will be displayed ↵Jean-François Milants1-7/+12
correctly after a full refresh (HW scrolling transition). Code cleaning and rename methods.
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher1-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.
2021-07-19Set remaining default periods to LV_DISP_DEF_REFR_PERIODRiku Isokoski1-1/+1
2021-07-19Refresh reworkRiku Isokoski1-29/+17
2021-07-02Fixed a bunch of format specifiersAvamander1-3/+3
2021-05-20Timer App (#355)Florian1-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