aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/WatchFacePineTimeStyle.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Switch to simpler temperature interfaceFintasticMan2024-11-041-2/+4
|
* weather: Refactor temperature type for type safetyFintasticMan2024-11-041-6/+3
| | | | | | | There is now a Temperature struct in the weather service, which holds the internal representation. There is also a temperature struct in the Applications namespace, which holds the temperature in either Celsius or Fahrenheit.
* WatchFacePineTimeStyle: Fix conditional in weather display (#1965)Victor Kareh2024-01-141-6/+3
| | | | | Since returning a valid weather is always considered an updated value, if the current weather is empty, the face will attempt to display the temperature and icon as empty values, rather than clearing the labels.
* pinetimestyle: Round the displayed temperatureFintasticMan2024-01-031-1/+2
| | | | | Instead of truncating. This fixes the displayed temperature being 1 degree lower than expected when using GadgetBridge.
* PineTimeStyle: fix brief display of weather dummy dataliamcharger2023-12-301-1/+2
|
* pinetimestyle: Display temp in Fahrenheit with settingFintasticMan2023-12-231-1/+5
|
* Simple Weather ServiceJean-François Milants2023-12-231-1/+1
| | | | Fix code formatting.
* Simple Weather ServiceJean-François Milants2023-12-231-1/+1
| | | | Store temperatures as int16_t (instead of uint8_t previously). The temperature is expressed in °C * 100.
* Simple Weather ServiceJean-François Milants2023-12-231-36/+2
| | | | Move the function GetIcon that converts SimpleWeatherService::Icons to char (symbol) into a new header file so that it can be used by other apps and companion apps.
* Simple Weather Service - code cleaning and improvementsJean-François Milants2023-12-231-1/+1
| | | | Rename Symbols::cloud_meatball to Symbols::cloudMeatball.
* Simple Weather Service - code cleaning and improvementsJean-François Milants2023-12-231-6/+6
| | | | | | | Add missing icons (heavy clouds, thunderstorm, snow). Remove unneeded comparison operator (!=), improve conversion of Timestamp and MessageType, order includes. Fix typo in documentation. Remove not related change in StopWatch.
* SimpleWeather service : new weather implementationJean-François Milants2023-12-231-10/+30
| | | | Fix recovery firmware and code formatting.
* SimpleWeather service : new weather implementationJean-François Milants2023-12-231-21/+25
| | | | | | | | | | This new implementation of the weather feature provides a new BLE API and a new weather service. The API uses a single characteristic that allows companion apps to write the weather conditions (current and forecast for the next 5 days). The SimpleWeather service exposes those data as std::optional fields. This new implementation replaces the previous WeahterService. The API is documented in docs/SimpleWeatherService.md.
* PineTimeStyle weather display (#1459)kieranc2023-06-041-31/+119
| | | | | Weather display for PineTimeStyle Documentation : https://wiki.pine64.org/wiki/PineTimeStyle and https://wiki.pine64.org/wiki/Infinitime-Weather
* Watchfaces: Assume motionsensor is okRiku Isokoski2023-04-161-2/+1
| | | | The watch face shouldn't and doesn't start before the sensor is ready.
* PTS: Fix double tap behaviour on settings screen (#1669)kieranc2023-03-041-2/+2
| | | | Fixes #1467 "Double tapping PineTimeStyle steps style button sends watch to sleep" Double tap is disabled on the color settings screen by checking if the Rnd button is visible, but this didn't work for the options screen as the Rnd button isn't visible. I've changed it to check if the Close button is visible instead, which is used on both settings screens, and resolves the bug. I also changed the button used to disable the long press behaviour which was an as-yet-undiscovered bug which would have allowed the long press action to be used when the options screen was visible.
* Add low battery indicator to StatusIcons, digital and analog watchfacesRiku Isokoski2023-03-021-0/+1
| | | | Define deepOrange color in InfiniTimeTheme
* date: Remove date libRiku Isokoski2023-02-251-15/+7
| | | | DateTimeController can provide everything we need.
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-251-2/+1
|
* screens: Remove explicit Screen constructorsRiku Isokoski2023-02-251-2/+1
| | | | | This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
* displayapp: Make Ble references constRiku Isokoski2023-02-241-1/+1
|
* displayapp: Make Battery class references constRiku Isokoski2023-02-241-1/+1
|
* Edit all occurences of "watchface" to "watch face"mashuptwice2022-10-101-1/+1
|
* Fix steps style button label (#1358)kieranc2022-10-061-1/+2
|
* Merge branch 'pts-options' of github.com:kieranc/InfiniTime into ↵Jean-François Milants2022-10-021-23/+132
|\ | | | | | | | | | | | | kieranc-pts-options # Conflicts: # src/components/settings/Settings.h
| * CleanupKieran Cawthray2022-09-061-25/+25
| |
| * Relabel buttonKieran Cawthray2022-09-061-2/+2
| |
| * Implement persistent settingsKieran Cawthray2022-09-061-9/+34
| |
| * Merge remote-tracking branch 'upstream/develop' into pts-optionsKieran Cawthray2022-09-051-2/+2
| |\
| * \ Add half gauge/seconds optionKieran Cawthray2022-08-161-7/+36
| |\ \
| | * | Apply suggestions from code reviewialokim2022-08-071-2/+1
| | | | | | | | | | | | Co-authored-by: NeroBurner <pyro4hell@gmail.com>
| | * | PTS: add seconds displayialokim2022-08-071-5/+17
| | | |
| * | | Initial mockupKieran Cawthray2022-08-051-17/+72
| | | |
| * | | Wrap PineTimeStyle step counterAidan Epstein2022-08-041-1/+1
| |/ / | | | | | | | | | | | | This changes the PineTimeStyle step counter gauge continues counting with wraparound after you achieve your step goal.
* | | fix typominacode2022-09-281-3/+3
| | |
* | | Update src/displayapp/screens/WatchFacePineTimeStyle.cppAkseli2022-09-171-1/+1
| | | | | | | | | Co-authored-by: NeroBurner <pyro4hell@gmail.com>
* | | add pink colorAkseli Lahtinen2022-09-171-3/+3
| | |
* | | Disable value_strRiku Isokoski2022-09-171-9/+18
| |/ |/| | | | | | | | | value_str is a way to add text on a button without a separate label. This saves having an extra label object, but uses more memory and is removed in LVGL8
* | Centralize most color definitions (#1258)Riku Isokoski2022-08-161-2/+2
|/
* Fix InfiniTime compiler warningsRiku Isokoski2022-06-191-7/+0
|
* Apply clang-format to all C++ filesFinlay Davidson2022-06-051-7/+7
|
* Force full screen refresh with a rounder functionRiku Isokoski2022-05-081-7/+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.
* New sharper batteryicon. Remove old unused batteryiconsRiku Isokoski2022-04-251-7/+13
|
* Replace lv_label_set_text where possibleRiku Isokoski2022-04-181-3/+3
|
* resolved merge conflict after renaming PineTimeStyle to WatchFacePineTimeStylemabuch2022-04-181-5/+3
|
* Rename PineTimeStyle to WatchFacePineTimeStylemabuch2022-03-121-0/+601