weather
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
weather [2015/01/20 19:18] – [Weather Widget] splitbrain | weather [2015/01/20 19:41] – moved to sprites splitbrain | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Weather Widget ====== | ||
- | {{ : | ||
- | Weather Widgets are [[image]] widgets so please refer to them for their general use. | ||
- | |||
- | To display the current weather conditions, the weather widget uses a special image that contains multiple icons (also called a sprite). Nine different states are supported in the weather sets delivered with Watchmaker: | ||
- | |||
- | - sunny | ||
- | - FIXME | ||
- | - FIXME | ||
- | - FIXME | ||
- | - light rain | ||
- | - heavy rain | ||
- | - thunderstorm | ||
- | - snow | ||
- | - cloudy | ||
- | |||
- | By default the weather widget shows the current weather condition as provided by the [[settings# | ||
- | ===== Using your own image ===== | ||
- | |||
- | You can provide your own image. To do so select it in the " | ||
- | |||
- | Which icon is displayed is displayed is determined by the "Image Selection" | ||
- | |||
- | The default expression is this: | ||
- | |||
- | <code lua> | ||
- | ' | ||
- | </ | ||
- | |||
- | '' | ||
- | |||
- | '' | ||
- | |||
- | ^ Value ^ Condition ^ | ||
- | | FIXME | FIXME | |
weather.txt · Last modified: 2018/02/21 10:20 by alex_curran