| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
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.
|
| |
|
|
|
| |
Instead of truncating. This fixes the displayed temperature being 1
degree lower than expected when using GadgetBridge.
|
| | |
|
| | |
|
| |
|
|
| |
Fix code formatting.
|
| |
|
|
| |
Store temperatures as int16_t (instead of uint8_t previously). The temperature is expressed in °C * 100.
|
| |
|
|
| |
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.
|
| |
|
|
| |
Rename Symbols::cloud_meatball to Symbols::cloudMeatball.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
| |
Fix recovery firmware and code formatting.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Weather display for PineTimeStyle
Documentation : https://wiki.pine64.org/wiki/PineTimeStyle and https://wiki.pine64.org/wiki/Infinitime-Weather
|
| |
|
|
| |
The watch face shouldn't and doesn't start before the sensor is ready.
|
| |
|
|
| |
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.
|
| |
|
|
| |
Define deepOrange color in InfiniTimeTheme
|
| |
|
|
| |
DateTimeController can provide everything we need.
|
| | |
|
| |
|
|
|
| |
This constructor didn't do anything since DisplayApp reference was
removed from the Screen base class.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
kieranc-pts-options
# Conflicts:
# src/components/settings/Settings.h
|
| | | |
|
| | | |
|
| | | |
|
| | |\ |
|
| | |\ \ |
|
| | | | |
| | | |
| | | | |
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
|
| | | | | |
|
| | | | | |
|
| | |/ /
| | |
| | |
| | |
| | | |
This changes the PineTimeStyle step counter gauge continues counting
with wraparound after you achieve your step goal.
|
| | | | |
|
| | | |
| | |
| | | |
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
|
| | | | |
|
| | |/
|/|
| |
| |
| |
| | |
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
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|