Files
addon/resources/skins/Default/720p/GlobalSearch.xml
2020-11-14 19:07:40 +01:00

374 lines
18 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<controls>
<!-- control groups -->
<control type='group' id="1"/>
<control type='group' id="2"/>
<control type='group' id="3"/>
<!-- CLOSE BUTTON / BACKGROUND -->
<control type="button">
<left>0</left>
<top>0</top>
<width>100%</width>
<height>100%</height>
<texturefocus colordiffuse="FF232323">white.png</texturefocus>
<texturenofocus colordiffuse="FF232323">white.png</texturenofocus>
<animation effect="fade" time="200">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
<onclick>Action(close)</onclick>
</control>
<!-- GROUP CONTROLS -->
<control type="group">
<left>0</left>
<top>0</top>
<animation type="WindowOpen" reversible="false">
<effect type="fade" delay="160" end="100" time="300" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="fade" delay="160" start="100" end="0" time="300" />
</animation>
<!-- LOADING -->
<control type="image">
<top>355</top>
<left>490</left>
<width>300</width>
<height>10</height>
<texture>white.png</texture>
<visible allowhiddenfocus="true">!Integer.IsGreater(Container(102).NumItems, 0)</visible>
<animation effect="zoom" pulse="true" center="auto" start="0,100" end="100,100" time="1000" condition="!Integer.IsGreater(Container(200).NumItems, 0)">Conditional</animation>
</control>
<!-- FANART -->
<control type="image">
<width>100%</width>
<height>100%</height>
<aspectratio>center</aspectratio>
<texture colordiffuse="FF555555">$INFO[Container(103).ListItem.Property(fanart)]</texture>
</control>
<!-- SEARCH -->
<control type="group" id="10">
<visible>Control.IsVisible(1)</visible>
<!-- MAIN TITLE -->
<control type="textbox" id='101'>
<left>30</left>
<top>30</top>
<width>1000</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<visible allowhiddenfocus="true">Integer.IsGreater(Container(102).NumItems, 0)</visible>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- RESULTS -->
<control type="group">
<visible>Integer.IsGreater(Container(102).NumItems, 0)</visible>
<animation effect="fade" time="200">Visible</animation>
<!-- Title -->
<control type="textbox">
<left>400</left>
<top>90</top>
<width>840</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[Container(103).ListItem.Label] [B][COLOR FFAAAAAA]($INFO[Container(103).CurrentItem]/$INFO[Container(103).NumItems])[/COLOR][/B]</label>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- Plot -->
<control type="textbox">
<left>400</left>
<top>150</top>
<width>840</width>
<height>170</height>
<font>font13</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[Container(103).ListItem.Property(plot)]</label>
<align>left</align>
</control>
<control type="fixedlist" id="103">
<bottom>70</bottom>
<left>0</left>
<width>100%</width>
<height>570</height>
<ondown>102</ondown>
<orientation>horizontal</orientation>
<scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="570" width="180">
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>180</width>
<height>270</height>
<texture>$INFO[ListItem.Property(thumb)]</texture>
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio>
</control>
</itemlayout>
<focusedlayout height="570" width="380">
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>380</width>
<height>570</height>
<texture>$INFO[ListItem.Property(thumb)]</texture>
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio>
</control>
</focusedlayout>
</control>
</control>
<!-- CHANNELS-->
<control type="group">
<bottom>-100</bottom>
<width>100%</width>
<height>150</height>
<animation effect="slide" start="0,150" time="500" condition="Integer.IsGreater(Container(102).NumItems, 0)">Conditional</animation>
<animation effect="slide" start="0,-100" time="200" condition="!Control.HasFocus(102)">Conditional</animation>
<control type="image">
<width>100%</width>
<height>100%</height>
<animation effect="fade" start='100' end='0' time="200" condition="!Control.HasFocus(102)">Conditional</animation>
<texture colordiffuse="FF232323">white.png</texture>
</control>
<control type="image">
<width>100%</width>
<height>100%</height>
<texture colordiffuse="88232323">white.png</texture>
</control>
<control type="list" id="102">
<width>100%</width>
<height>150</height>
<onup>103</onup>
<orientation>horizontal</orientation>
<scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="150" width="150">
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>150</width>
<height>150</height>
<texture colordiffuse="55FFFFFF">$INFO[ListItem.Property(thumb)]</texture>
<aspectratio>scale</aspectratio>
</control>
<!-- Poster -->
<control type="image">
<top>0</top>
<right>0</right>
<width>40</width>
<height>40</height>
<texture colordiffuse="20232323">white.png</texture>
<aspectratio>scale</aspectratio>
</control>
<!-- Title -->
<control type="textbox">
<right>5</right>
<top>5</top>
<width>30</width>
<height>30</height>
<font>font30_title</font>
<textcolor>22FFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Property(results)][/B]</label>
<align>center</align>
<aligny>center</aligny>
</control>
</itemlayout>
<focusedlayout height="150" width="150">
<!-- Poster -->
<control type="image">
<top>0</top>
<left>0</left>
<width>150</width>
<height>150</height>
<texture>$INFO[ListItem.Property(thumb)]</texture>
<aspectratio>scale</aspectratio>
</control>
<!-- Poster -->
<control type="image">
<top>0</top>
<right>0</right>
<width>40</width>
<height>40</height>
<texture colordiffuse="880082C2">white.png</texture>
<aspectratio>scale</aspectratio>
</control>
<!-- Title -->
<control type="textbox">
<right>5</right>
<top>5</top>
<width>30</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Property(results)][/B]</label>
<align>center</align>
<aligny>center</aligny>
</control>
</focusedlayout>
</control>
</control>
<!-- PROGRESS -->
<!-- <control type='image' id='100'/> -->
<control type="progress" id="100">
<top>0</top>
<left>-10</left>
<width>1330</width>
<height>7</height>
<reveal>false</reveal>
<lefttexture colordiffuse="10000000">white.png</lefttexture>
<righttexture colordiffuse="10000000">white.png</righttexture>
<texturebg colordiffuse="88232323">progress.png</texturebg>
<midtexture colordiffuse="FF0082C2">progress.png</midtexture>
<visible>Integer.IsGreater(Container(102).NumItems, 0)</visible>
</control>
<control type="textbox" id="104">
<top>30</top>
<right>30</right>
<width>200</width>
<height>40</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<align>right</align>
<aligny>center</aligny>
<visible>Integer.IsGreater(Container(102).NumItems, 0)</visible>
</control>
</control>
<!-- EPISODES -->
<control type="group" id="20">
<visible>Control.IsVisible(2)</visible>
</control>
<!-- SERVERS -->
<control type="group" id="30">
<visible>Control.IsVisible(3)</visible>
<control type="image">
<description>Poster</description>
<top>0</top>
<left>0</left>
<width>480</width>
<height>720</height>
<texture>$INFO[Container(103).ListItem.Property(thumb)]</texture>
</control>
<control type="textbox" id="99">
<description>Title</description>
<left>520</left>
<top>40</top>
<width>1150</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[Container(103).ListItem.Label]</label>
</control>
<control type="list" id="300">
<bottom>40</bottom>
<left>520</left>
<width>700</width>
<height>570</height>
<!-- <orientation>horizontal</orientation> -->
<scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="140" width="700">
<!-- Poster -->
<control type="image">
<top>5</top>
<left>5</left>
<width>120</width>
<height>120</height>
<texture>$INFO[ListItem.Property(thumb)]</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="image">
<top>35</top>
<left>150</left>
<width>60</width>
<height>60</height>
<texture>$INFO[ListItem.Property(quality)]</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="textbox" id="99">
<description>Title</description>
<left>220</left>
<top>35</top>
<width>450</width>
<height>60</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<align>left</align>
<aligny>center</aligny>
<label>[B][COLOR FFAAAAAA]$INFO[ListItem.Property(servername)][/COLOR][/B]</label>
</control>
</itemlayout>
<focusedlayout height="140" width="700">
<control type="image">
<width>700</width>
<height>130</height>
<texture colordiffuse="88000000">white.png</texture>
<aspectratio>scale</aspectratio>
</control>
<!-- Poster -->
<control type="image">
<top>0</top>
<left>0</left>
<width>130</width>
<height>130</height>
<visible>Control.HasFocus(300)</visible>
<texture colordiffuse="$INFO[ListItem.Property(color)]">white.png</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="image">
<top>5</top>
<left>5</left>
<width>120</width>
<height>120</height>
<texture>$INFO[ListItem.Property(thumb)]</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="image">
<top>35</top>
<left>150</left>
<width>60</width>
<height>60</height>
<texture>$INFO[ListItem.Property(quality)]</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="textbox" id="99">
<description>Title</description>
<left>220</left>
<top>35</top>
<width>450</width>
<height>60</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<align>left</align>
<aligny>center</aligny>
<label>[B][COLOR FFAAAAAA]$INFO[ListItem.Property(servername)][/COLOR][/B]</label>
</control>
</focusedlayout>
</control>
</control>
</control>
<!-- GROUP CONTROLS END -->
</controls>
</window>