Bin gerade dabei das Panel-Layout von Aeon Nox etwas umzubauen. Jedoch bekomme ich keine Animation für das Fanart rechts hin. Ich möchte eine Slide-animation beim navigieren.
Die Condition "Control.HasFocus(550)" ist aber meiner Meinung nach immer "true", weil die Navigation ein focusedlayout verwendet und die entsprechende Zeile ja immer fokusiert ist.
PHP
<!-- Start Navigation -->
<control type="list" id="550">
<posx>10</posx>
<posy>190</posy>
<width>230</width>
<height>574</height>
<onleft>9000</onleft>
<onright>60</onright>
<onup>550</onup>
<ondown>550</ondown>
<pagecontrol>60</pagecontrol>
<viewtype label="$LOCALIZE[31233]">list</viewtype>
<scrolltime tween="quadratic">200</scrolltime>
<itemlayout height="53" width="570" condition="![Skin.HasSetting(panellogo) + [Container.Content(movies) | Container.Content(tvshows)]]">
<control type="label">
<posx>20</posx>
<width>200</width>
<height>43</height>
<font>Font_new_normal</font>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="image">
<posx>386</posx>
<posy>18</posy>
<width>42</width>
<height>42</height>
<texture>$VAR[WatchedIconVar]</texture>
<colordiffuse>$VAR[ColorDiffuseVar]</colordiffuse>
</control>
</itemlayout>
<focusedlayout height="53" width="570" condition="![Skin.HasSetting(panellogo) + [Container.Content(movies) | Container.Content(tvshows)]]">
<control type="image">
<width>434</width>
<height>43</height>
<include>PanelGlowFade</include>
<texture>views/tripanel/listselect_fo.png</texture>
<animation effect="fade" start="100" end="50" time="50" condition="!Control.HasFocus(550)">Conditional</animation>
<colordiffuse>$VAR[FocusTextureColorVar]</colordiffuse>
</control>
<control type="label">
<posx>20</posx>
<width>365</width>
<height>43</height>
<font>Font_new_normal_bold</font>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="image">
<posx>386</posx>
<posy>18</posy>
<width>42</width>
<height>42</height>
<texture>$VAR[WatchedIconVar]</texture>
<colordiffuse>$VAR[ColorDiffuseVar]</colordiffuse>
</control>
</focusedlayout>
<itemlayout height="174" width="570" condition="Skin.HasSetting(panellogo) + [Container.Content(movies) | Container.Content(tvshows)]">
<include>PanelLogoLayout</include>
</itemlayout>
<focusedlayout height="174" width="570" condition="Skin.HasSetting(panellogo) + [Container.Content(movies) | Container.Content(tvshows)]">
<control type="image">
<width>434</width>
<include>PanelGlowFade</include>
<height>174</height>
<texture>views/tripanel/listselect_fo.png</texture>
<animation effect="fade" start="100" end="50" time="50" condition="!Control.HasFocus(550)">Conditional</animation>
<colordiffuse>$VAR[FocusTextureColorVar]</colordiffuse>
</control>
<include>PanelLogoLayout</include>
</focusedlayout>
</control>
<!-- Ende Navigation -->
Alles anzeigen
PHP
<control type="image">
<posx>778</posx>
<posy>185</posy>
<width>1127</width>
<height>775</height>
<texture>$INFO[ListItem.Art(fanart)]</texture>
<aspectratio aligny="top" align="right">keep</aspectratio>
<bordertexture border="7">thumbs/thumbshadow.png</bordertexture>
<bordersize>7</bordersize>
</control>
Wie kann ich eine Animation bei navigieren auslösen? Oder habe ich einen Denkfehler?