Layout of weather pins (LayoutIdWeather).
More...
Layout of weather pins (LayoutIdWeather).
◆ WeatherLayout
◆ WeatherPinKind
Kind of weather pin, the value of AttributeIdWeatherPinKind.
| Enumerator |
|---|
| WeatherPinKind_None | Regular forecast (default).
|
| WeatherPinKind_Sunrise | Sunrise.
|
| WeatherPinKind_Sunset | Sunset.
|
◆ WeatherTimeType
Time shown by a weather pin, the value of AttributeIdDisplayTime.
| Enumerator |
|---|
| WeatherTimeType_None | No time.
|
| WeatherTimeType_Pin | The pin time (default).
|
◆ weather_layout_create()
Create a weather layout.
- Parameters
-
- Returns
- New layout, allocated on the calling task's heap.
◆ weather_layout_verify()
| bool weather_layout_verify |
( |
bool |
existing_attributes[] | ) |
|
Check the attributes of a weather pin.
- Parameters
-
| existing_attributes | Array of NumAttributeIds flags, indexed by AttributeId. |
- Returns
- true if a title and a location name are present.