2010-02-04, 18:12
i have a long text i'd like to use at many places in the skin as a condition. i'd like to include it in includes.xml, like i include a constant. is this possible?
r1ctus Wrote:i have a long text i'd like to use at many places in the skin as a condition. i'd like to include it in includes.xml, like i include a constant. is this possible?I believe <constants> can only be numeric.
<include name="mylabel">
<label>text</label>
</include>
<control type="label">
<include>mylabel</include>
<posx></posx>
<posy></posy>
</control>
[Skin.String(CurrentViewMode,50) + Skin.HasSetting(ShowMusicIconTopBar) + Window.IsActive(MusicLibrary)]
<animation effect="slide" end="0,-43" condition="**The Condition I Included***">Conditional</animation>
r1ctus Wrote:sorry, i dont think i asked the question clearly. the text i'd like to include is a long condition, part of it is this:
i'd like to use this text as a condition in the skin somehow like this:Code:[Skin.String(CurrentViewMode,50) + Skin.HasSetting(ShowMusicIconTopBar) + Window.IsActive(MusicLibrary)]
i hope my question is easier to understand this way.Code:<animation effect="slide" end="0,-43" condition="**The Condition I Included***">Conditional</animation>