skin.divide/720p/script-XBMC-Subtitles-main.xml

408 lines
12 KiB
XML

<window>
<allowoverlay>no</allowoverlay>
<include>dialogeffect</include>
<coordinates>
<system>1</system>
<posx>400</posx>
<posy>45</posy>
</coordinates>
<controls>
<control type="group">
<control type="image">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>800</width>
<height>635</height>
<colordiffuse>DDFFFFFF</colordiffuse>
<texture border="40">DialogBack.png</texture>
</control>
<control type="image">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>800</width>
<height>635</height>
<texture border="40">DialogFront.png</texture>
</control>
<control type="label" id="2">
<description>heading label</description>
<posx>40</posx>
<posy>40</posy>
<width>720</width>
<height>30</height>
<align>center</align>
<aligny>center</aligny>
<font>font18</font>
<label>$LOCALIZE[31250]</label>
<textcolor>white</textcolor>
</control>
<control type="button">
<description>Close Window button</description>
<posx>730</posx>
<posy>35</posy>
<include>WindowCloseButtonCommons</include>
</control>
<control type="image">
<posx>40</posx>
<posy>78</posy>
<width>720</width>
<height>2</height>
<texture>separator.png</texture>
</control>
<control type="label" id="100">
<description>textarea</description>
<posx>50</posx>
<posy>80</posy>
<width>700</width>
<height>35</height>
<font>font12</font>
<textcolor>green</textcolor>
<align>center</align>
<aligny>center</aligny>
<scroll>true</scroll>
</control>
<control type="label" id="111">
<description>All ready got subs notification</description>
<posx>50</posx>
<posy>110</posy>
<width>700</width>
<height>15</height>
<font>font10</font>
<textcolor>green</textcolor>
<label>$LOCALIZE[SCRIPT655]</label>
<align>center</align>
<aligny>center</aligny>
</control>
<control type="label">
<description>textarea</description>
<posx>570</posx>
<posy>555</posy>
<width>500</width>
<height>30</height>
<font>font12</font>
<label>$LOCALIZE[31251]</label>
<textcolor>green</textcolor>
<align>right</align>
<aligny>center</aligny>
<visible>Control.IsVisible(110)</visible>
</control>
<control type="image" id="110">
<description>Service Logo</description>
<posx>580</posx>
<posy>555</posy>
<width>200</width>
<height>30</height>
<aspectratio align="left">keep</aspectratio>
</control>
</control>
<control type="button" id="5">
<description>Subtitle Source button</description>
<posx>45</posx>
<posy>555</posy>
<width>200</width>
<height>35</height>
<label>33063</label>
<font>font12</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<align>center</align>
<texturefocus border="3">button-focus2.png</texturefocus>
<texturenofocus border="3">button-nofocus.png</texturenofocus>
<onleft>121</onleft>
<onright>120</onright>
<onup>120</onup>
<ondown>120</ondown>
<onclick>Skin.ToggleSetting(SubtitleSourceChooserVisible)</onclick>
<onclick>SetFocus(150)</onclick>
</control>
<!-- ** Required ** Do not change <id>or<type>-->
<control type="list" id="120">
<posx>45</posx>
<posy>130</posy>
<width>685</width>
<height>420</height>
<onleft>5</onleft>
<onright>121</onright>
<onup>120</onup>
<ondown>120</ondown>
<viewtype label="535">list</viewtype>
<pagecontrol>121</pagecontrol>
<scrolltime>200</scrolltime>
<animation effect="slide" start="0,0" end="10,0" time="0" condition="!Control.IsVisible(121)">conditional</animation>
<itemlayout width="685" height="60">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>685</width>
<height>55</height>
<texture border="5">button-nofocus.png</texture>
</control>
<control type="label">
<posx>10</posx>
<posy>0</posy>
<width>665</width>
<height>35</height>
<font>font12</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>green</selectedcolor>
<info>ListItem.Label2</info>
<visible>!ListItem.property(sync)</visible>
</control>
<control type="label">
<posx>10</posx>
<posy>0</posy>
<width>610</width>
<height>35</height>
<font>font12</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>green</selectedcolor>
<info>ListItem.Label2</info>
<visible>ListItem.property(sync)</visible>
</control>
<control type="image">
<posx>635</posx>
<posy>10</posy>
<width>40</width>
<height>12</height>
<texture>xbmc_subtitles/icon_sync.png</texture>
<visible>ListItem.property(sync)</visible>
</control>
<control type="image">
<posx>10</posx>
<posy>30</posy>
<width>30</width>
<height>20</height>
<texture>xbmc_subtitles/$INFO[Listitem.Thumb]</texture>
</control>
<control type="label">
<posx>45</posx>
<posy>27</posy>
<width>300</width>
<height>25</height>
<font>font11</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>grey2</textcolor>
<selectedcolor>green</selectedcolor>
<info>ListItem.Label</info>
</control>
<control type="image">
<posx>550</posx>
<posy>28</posy>
<width>125</width>
<height>22</height>
<aspectratio align="right">keep</aspectratio>
<texture>xbmc_subtitles/ratings/$INFO[ListItem.ActualIcon].png</texture>
</control>
</itemlayout>
<focusedlayout width="685" height="60">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>685</width>
<height>55</height>
<texture border="5">button-nofocus.png</texture>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>685</width>
<height>55</height>
<texture border="5">button-focus.png</texture>
<visible>Control.HasFocus(120)</visible>
</control>
<control type="label">
<posx>10</posx>
<posy>0</posy>
<width>665</width>
<height>35</height>
<font>font12</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>green</selectedcolor>
<info>ListItem.Label2</info>
<visible>!ListItem.property(sync)</visible>
</control>
<control type="label">
<posx>10</posx>
<posy>0</posy>
<width>610</width>
<height>35</height>
<font>font12</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>green</selectedcolor>
<info>ListItem.Label2</info>
<visible>ListItem.property(sync)</visible>
</control>
<control type="image">
<posx>635</posx>
<posy>10</posy>
<width>40</width>
<height>12</height>
<texture>xbmc_subtitles/icon_sync.png</texture>
<visible>ListItem.property(sync)</visible>
</control>
<control type="image">
<posx>10</posx>
<posy>30</posy>
<width>30</width>
<height>20</height>
<texture>xbmc_subtitles/$INFO[Listitem.Thumb]</texture>
</control>
<control type="label">
<posx>45</posx>
<posy>27</posy>
<width>300</width>
<height>25</height>
<font>font11</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>grey2</textcolor>
<selectedcolor>green</selectedcolor>
<info>ListItem.Label</info>
</control>
<control type="image">
<posx>550</posx>
<posy>28</posy>
<width>125</width>
<height>22</height>
<aspectratio align="right">keep</aspectratio>
<texture>xbmc_subtitles/ratings/$INFO[ListItem.ActualIcon].png</texture>
</control>
</focusedlayout>
</control>
<control type="scrollbar" id="121">
<posx>735</posx>
<posy>130</posy>
<width>20</width>
<height>415</height>
<texturesliderbackground border="2,2,2,2">scrollbar_bar_back2.png</texturesliderbackground>
<texturesliderbar border="2,16,2,16">scrollbar_bar.png</texturesliderbar>
<texturesliderbarfocus border="2,16,2,16">scrollbar_bar_focus.png</texturesliderbarfocus>
<textureslidernib>scrollbar_nib.png</textureslidernib>
<textureslidernibfocus>scrollbar_nib.png</textureslidernibfocus>
<onleft>120</onleft>
<onright>5</onright>
<showonepage>false</showonepage>
<orientation>vertical</orientation>
</control>
<control type="group">
<visible>Skin.HasSetting(SubtitleSourceChooserVisible)</visible>
<include>VisibleFadeEffect</include>
<control type="button">
<description>Hidden button to close the sort when its focused</description>
<posx>-400</posx>
<posy>-45</posy>
<width>1280</width>
<height>720</height>
<texturenofocus>-</texturenofocus>
<texturefocus>-</texturefocus>
<onclick>Skin.Reset(SubtitleSourceChooserVisible)</onclick>
</control>
<control type="group">
<posx>200</posx>
<posy>150</posy>
<control type="image" id="997">
<description>background top image</description>
<posx>0</posx>
<posy>0</posy>
<width>400</width>
<height>50</height>
<texture border="40,40,40,0">ContextMenu_Top.png</texture>
</control>
<control type="image" id="999">
<description>background image</description>
<posx>0</posx>
<posy>50</posy>
<width>400</width>
<height>250</height>
<texture border="40,0,40,0">ContextMenu_Middle.png</texture>
</control>
<control type="image" id="998">
<description>background bottom image</description>
<posx>0</posx>
<posy>300</posy>
<width>400</width>
<height>50</height>
<texture border="40,0,40,40">ContextMenu_Bottom.png</texture>
</control>
<control type="label">
<description>Available sources label</description>
<posx>10</posx>
<posy>37</posy>
<width>380</width>
<height>25</height>
<label>$LOCALIZE[SCRIPT760]</label>
<font>font12</font>
<align>center</align>
<aligny>top</aligny>
<textcolor>green</textcolor>
</control>
<control type="panel" id="150">
<posx>40</posx>
<posy>65</posy>
<width>320</width>
<height>240</height>
<onleft>5</onleft>
<onleft>Skin.Reset(SubtitleSourceChooserVisible)</onleft>
<onright>150</onright>
<onup>150</onup>
<ondown>150</ondown>
<viewtype label="535">list</viewtype>
<scrolltime>200</scrolltime>
<itemlayout width="320" height="40">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>320</width>
<height>38</height>
<texture border="3">button-nofocus.png</texture>
</control>
<control type="label">
<posx>160</posx>
<posy>0</posy>
<width>300</width>
<height>38</height>
<font>font12</font>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>selected</selectedcolor>
<align>center</align>
<info>ListItem.Label</info>
</control>
</itemlayout>
<focusedlayout width="320" height="40">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>320</width>
<height>38</height>
<texture border="3">button-focus2.png</texture>
</control>
<control type="label">
<posx>160</posx>
<posy>0</posy>
<width>300</width>
<height>38</height>
<font>font12</font>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>selected</selectedcolor>
<align>center</align>
<info>ListItem.Label</info>
</control>
</focusedlayout>
</control>
</control>
</control>
</controls>
</window>