aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Weather.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SimpleWeatherService: Add sunrise and sunset data (#2100)Victor Kareh7 days1-2/+2
| | | | | | | * SimpleWeatherService: Add sunrise and sunset data --------- Co-authored-by: mark9064 <30447455+mark9064@users.noreply.github.com>
* Move TemperatureColor to SimpleWeatherService for reusabilityScott2025-11-081-15/+1
|
* weather: Fix inverted imperial forecast temperaturesVictor Kareh2024-12-101-3/+3
| | | | | | | When converting to imperial units, the min and max temperatures were incorrectly inverted, causing confusion in the display. Fixes https://github.com/InfiniTimeOrg/InfiniTime/issues/2183
* Weather: fix min and max temperature being switchedLionel Elie Mamane2024-11-161-2/+2
|
* weather: Switch to std::optional for Forecast daysFintasticMan2024-11-041-8/+8
| | | | | Also only iterate over the number of days actually in use, rather than MaxNbForecastDays.
* Switch to simpler temperature interfaceFintasticMan2024-11-041-25/+32
|
* weather: Refactor temperature type for type safetyFintasticMan2024-11-041-32/+24
| | | | | | | 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.
* weather: Define function to round and render temperatureVictor Kareh2024-02-181-8/+9
|
* weather: Pad forecast temperaturesVictor Kareh2024-02-181-12/+17
| | | | This ensures temperatures are correctly aligned with one another
* weather: Colorize forecast temperaturesVictor Kareh2024-02-181-9/+45
|
* weather: Add new app with forecastVictor Kareh2024-02-181-0/+156
|
* Simple Weather Service - code cleaning and improvementsJean-François Milants2023-12-231-221/+0
| | | | | Remove unused Weather debug app. Fix formatting in SimpleWeatherService.cpp.
* SimpleWeather service : new weather implementationJean-François Milants2023-12-231-1/+1
| | | | | | | | | | 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.
* screens: Remove displayapp parameter from screenRiku Isokoski2023-02-251-6/+6
| | | | | | | | The DisplayApp class isn't used in the Screen base class and most screens, so requiring it is pointless. In this commit, DisplayApp pointers were added to screens which use it and the explicit Screen constructor was removed in those screens.
* compiler warnings, #1035 and #notreported (#1481)cybuzuma2022-12-121-1/+0
|
* Fixed air quality amounts being off by a few orders of magnitudeAvamander2021-12-041-1/+1
|
* Removed float usage from displayAvamander2021-12-041-4/+4
|
* Better cleanup, bugfixes and improvements in weather parsing. UI improvementsAvamander2021-12-041-4/+4
|
* Improved debug UI.Avamander2021-12-041-0/+24
|
* Improved UI and fixed a bugAvamander2021-12-041-0/+20
|
* Bunch of bugs fixed, improved error handling, debug UI additionAvamander2021-12-041-57/+87
|
* Fixed a few compilation errors, fixed UUID.Avamander2021-12-041-8/+19
|
* Implemented a few functions.Avamander2021-12-041-15/+1
|
* Started initial work on the UIAvamander2021-12-041-114/+19
|
* Brace style and whitespace fixesAvamander2021-12-041-1/+1
|
* Initial Weather service skeletonAvamander2021-12-041-0/+246