Fixed up the subtitle window to work with the latest versions of the add-on
This commit is contained in:
parent
007de44362
commit
4da3aa32a1
@ -96,13 +96,33 @@
|
||||
<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>121</onleft>
|
||||
<onleft>5</onleft>
|
||||
<onright>121</onright>
|
||||
<onup>120</onup>
|
||||
<ondown>120</ondown>
|
||||
@ -173,9 +193,10 @@
|
||||
</control>
|
||||
<control type="image">
|
||||
<posx>550</posx>
|
||||
<posy>27</posy>
|
||||
<posy>28</posy>
|
||||
<width>125</width>
|
||||
<height>25</height>
|
||||
<height>22</height>
|
||||
<aspectratio align="right">keep</aspectratio>
|
||||
<texture>xbmc_subtitles/ratings/$INFO[ListItem.ActualIcon].png</texture>
|
||||
</control>
|
||||
</itemlayout>
|
||||
@ -250,9 +271,10 @@
|
||||
</control>
|
||||
<control type="image">
|
||||
<posx>550</posx>
|
||||
<posy>27</posy>
|
||||
<posy>28</posy>
|
||||
<width>125</width>
|
||||
<height>25</height>
|
||||
<height>22</height>
|
||||
<aspectratio align="right">keep</aspectratio>
|
||||
<texture>xbmc_subtitles/ratings/$INFO[ListItem.ActualIcon].png</texture>
|
||||
</control>
|
||||
</focusedlayout>
|
||||
@ -268,9 +290,118 @@
|
||||
<textureslidernib>scrollbar_nib.png</textureslidernib>
|
||||
<textureslidernibfocus>scrollbar_nib.png</textureslidernibfocus>
|
||||
<onleft>120</onleft>
|
||||
<onright>120</onright>
|
||||
<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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user