2008-09-09, 17:49
so i wanted to learn to contribute to xbmc and i've been looking around media stream and changing it where i would like it different just to learn my way around
one of the things i wanted to change was have it so the pictures in image stream faded out as well as in
here is the original
and i want to change to this:
but as soon as i add any time other than zero to the hidden animation animation on this element seems to not work all together?
one of the things i wanted to change was have it so the pictures in image stream faded out as well as in
here is the original
Quote:<control type="group">
<visible>!Container.OnNext + !Container.OnPrevious</visible>
<animation effect="fade" start="0" end="100" time="400" delay="200">Visible</animation>
<animation effect="fade" start="0" end="0" time="0">Hidden</animation>
<control type="image">
<description>Image Thumb</description>
<include>ImageStreamLargeImage</include>
<info>ListItem.Thumb</info>
</control>
<control type="largeimage">
<description>Image</description>
<include>ImageStreamLargeImage</include>
<info>ListItem.FileNameAndPath</info>
</control>
</control>
</control>
and i want to change to this:
Quote:<control type="group">
<visible>!Container.OnNext + !Container.OnPrevious</visible>
<animation effect="fade" start="0" end="100" time="400" delay="400">Visible</animation>
<animation effect="fade" start="100" end="0" time="400">Hidden</animation>
<control type="image">
<description>Image Thumb</description>
<include>ImageStreamLargeImage</include>
<info>ListItem.Thumb</info>
</control>
<control type="largeimage">
<description>Image</description>
<include>ImageStreamLargeImage</include>
<info>ListItem.FileNameAndPath</info>
</control>
</control>
</control>
but as soon as i add any time other than zero to the hidden animation animation on this element seems to not work all together?