2012-05-03, 20:23
I'm going to set the weather icons folder based on a setting toggle. So if the settings option is not checked, it will use the default icons in the weather_icons folder, but if it is checked then it will use the real style weather icons in weather_icons2. I'm just not sure if there is a better way of doing this than having two image controls with visibility conditions.
Code:
<control type="image">
<width>140</width>
<height>140</height>
<posx>30</posx>
<posy>10</posy>
<texture>$INFO[Window.Property(Day0.FanartCode),special://skin/extras/weather_icons/,.png]</texture>
<visible>!Skin.HasSetting(WeatherIcons2)</visible>
</control>
<control type="image">
<width>140</width>
<height>140</height>
<posx>30</posx>
<posy>10</posy>
<texture>$INFO[Window.Property(Day0.FanartCode),special://skin/extras/weather_icons/,.png]</texture>
<visible>Skin.HasSetting(WeatherIcons2)</visible>
</control>