2007-06-25, 17:35
Hi,
I'm trying to position a control based on if the previous window is a specific window.
Is this possible?
I'm using this with python and WindowXML.
Thanks
Edit: the following does not work in the skin, MyScripts.xml. Should Window conditions be acceptable conditions?
I'm trying to position a control based on if the previous window is a specific window.
Code:
<control type="image" id="1">
<description>Background Image</description>
<posx>50</posx>
<posy>40</posy>
<width>300</width>
<height>320</height>
<texture>default-dialog-panel.png</texture>
<animation effect="slide" time="0" start="50,40" end="200,0" conditional="Window.Previous(script-XBMC_Lyrics-main.xml)">Conditional</animation>
</control>
Is this possible?
I'm using this with python and WindowXML.
Thanks
Edit: the following does not work in the skin, MyScripts.xml. Should Window conditions be acceptable conditions?
Quote: <control type="image">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>720</width>
<height>88</height>
<texture>background-apps.png</texture>
<animation effect="slide" time="0" end="500,0" conditional="Window.IsVisible(20)">Conditional</animation>