mythboxee/skin/Boxee Skin NG/720p/settings.xml

303 lines
7.7 KiB
XML

<window type="window" id="14004">
<defaultcontrol always="true">1030</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<onload lang="python"><![CDATA[
from mythboxee import *
mbs = MythBoxeeSettings()
]]></onload>
<controls>
<control type="group" id="1010">
<control type="image" id="1011">
<width>1280</width>
<height>720</height>
<texture>mb_bg_settings.png</texture>
</control>
<control type="label" id="1013">
<posx>5</posx>
<posy>705</posy>
<label>version</label>
<font>font12b</font>
<textcolor>FFFEFEFE</textcolor>
</control>
</control>
<!-- START: BACKEND INFORMATION -->
<control type="group" id="1040">
<control type="label" id="1041">
<posx>820</posx>
<posy>80</posy>
<width>250</width>
<label>Backend Information</label>
<font>font23</font>
</control>
<control type="edit" id="1042">
<posx>820</posx>
<posy>115</posy>
<width>300</width>
<label>Hostname/IP:</label>
<align>left</align>
<font>font18</font>
<ondown>1043</ondown>
</control>
<control type="edit" id="1043">
<posx>820</posx>
<posy>150</posy>
<width>300</width>
<label>Username:</label>
<align>left</align>
<font>font18</font>
<onup>1042</onup>
<ondown>1044</ondown>
</control>
<control type="edit" id="1044">
<posx>820</posx>
<posy>185</posy>
<width>300</width>
<align>left</align>
<label>Password:</label>
<password>true</password>
<font>font18</font>
<onup>1043</onup>
<ondown>1045</ondown>
</control>
<control type="edit" id="1045">
<posx>820</posx>
<posy>220</posy>
<width>300</width>
<align>left</align>
<label>Database:</label>
<font>font18</font>
<onup>1044</onup>
<ondown>1047</ondown>
</control>
</control>
<control type="grouplist" id="1046">
<posx>895</posx>
<posy>260</posy>
<width>300</width>
<itemgap>0</itemgap>
<orientation>horizontal</orientation>
<ondown>1022</ondown>
<control type="button" id="1047">
<label>Test and Save Settings</label>
<font>font14</font>
<height>30</height>
<align>center</align>
<aligny>center</aligny>
<onclick lang="python"><![CDATA[mbs.TestDbSettings()]]></onclick>
</control>
</control>
<!-- END: BACKEND INFORMATION -->
<!-- START: STREAM METHOD -->
<control type="group" id="1020">
<control type="label" id="1021">
<posx>820</posx>
<posy>330</posy>
<width>250</width>
<align>left</align>
<label>Stream Method</label>
<font>font23</font>
</control>
<control type="list" id="1022">
<posx>830</posx>
<posy>365</posy>
<width>164</width>
<height>100</height>
<onup>1044</onup>
<ondown>1032</ondown>
<itemlayout width="164" height="27">
<control type="label">
<description>title</description>
<posx>9</posx>
<posy>0</posy>
<width>146</width>
<height>25</height>
<align>left</align>
<aligny>top</aligny>
<info>ListItem.Label</info>
<font>font18</font>
<textcolor>FF999999</textcolor>
<selectedcolor>FFFFFFFF</selectedcolor>
</control>
</itemlayout>
<focusedlayout width="164" height="27">
<control type="label">
<description>title</description>
<posx>9</posx>
<posy>0</posy>
<width>146</width>
<height>25</height>
<align>left</align>
<aligny>top</aligny>
<info>ListItem.Label</info>
<font>font18</font>
<textcolor>green</textcolor>
<visible>Control.HasFocus(1022)</visible>
<selectedcolor>green</selectedcolor>
</control>
<control type="label">
<visible>!Control.HasFocus(1022)</visible>
<description>title</description>
<posx>9</posx>
<posy>0</posy>
<width>146</width>
<height>25</height>
<align>left</align>
<aligny>top</aligny>
<info>ListItem.Label</info>
<font>font18</font>
<textcolor>FF999999</textcolor>
<selectedcolor>FFFFFFFF</selectedcolor>
</control>
</focusedlayout>
<content type="action">
<onclick lang="python"><![CDATA[mbs.SetStreamMethod()]]></onclick>
</content>
</control>
</control>
<!-- END: STREAM METHOD -->
<!-- START: SMB SETTINGS -->
<control type="group" id="1030">
<control type="label" id="1031">
<posx>820</posx>
<posy>460</posy>
<width>250</width>
<align>left</align>
<label>SMB Share</label>
<font>font23</font>
</control>
<control type="edit" id="1032">
<posx>820</posx>
<posy>490</posy>
<width>300</width>
<label>Share:</label>
<align>left</align>
<font>font18</font>
<onup>1022</onup>
<ondown>1033</ondown>
</control>
<control type="edit" id="1033">
<posx>820</posx>
<posy>525</posy>
<width>300</width>
<label>Username:</label>
<align>left</align>
<font>font18</font>
<onup>1032</onup>
<ondown>1034</ondown>
</control>
<control type="edit" id="1034">
<posx>820</posx>
<posy>560</posy>
<width>300</width>
<label>Password:</label>
<align>left</align>
<font>font18</font>
<password>true</password>
<onup>1033</onup>
<ondown>1071</ondown>
</control>
</control>
<control type="grouplist" id="1070">
<posx>895</posx>
<posy>600</posy>
<width>300</width>
<itemgap>0</itemgap>
<orientation>horizontal</orientation>
<onup>1034</onup>
<control type="button" id="1071">
<label>Save SMB Settings</label>
<texturefocus>bg_btn.png</texturefocus>
<texturenofocus></texturenofocus>
<font>font14</font>
<height>30</height>
<align>center</align>
<aligny>center</aligny>
<onclick lang="python"><![CDATA[mbs.SaveSMBSettings()]]></onclick>
</control>
</control>
<!-- END: SMB SETTINGS -->
<!-- START: CACHE SETTINGS -->
<!--
<control type="group" id="1050">
<control type="label" id="1051">
<posx>820</posx>
<posy>560</posy>
<width>250</width>
<align>left</align>
<label>Cache Settings</label>
<font>font23</font>
</control>
<control type="togglebutton" id="1052">
<posx>820</posx>
<posy>565</posy>
<width>300</width>
<label>Share:</label>
<align>left</align>
<font>font18</font>
<onup>1022</onup>
<ondown>1033</ondown>
<ontextchange lang="python"><![CDATA[mbs.SaveCacheSettings()]]></ontextchange>
</control>
<control type="edit" id="1053">
<posx>820</posx>
<posy>590</posy>
<width>300</width>
<label>Username:</label>
<align>left</align>
<font>font18</font>
<onup>1032</onup>
<ondown>1034</ondown>
<ontextchange lang="python"><![CDATA[mbs.SaveCacheSettings()]]></ontextchange>
</control>
<control type="edit" id="1054">
<posx>820</posx>
<posy>615</posy>
<width>300</width>
<label>Password:</label>
<align>left</align>
<font>font18</font>
<password>true</password>
<onup>1033</onup>
<ontextchange lang="python"><![CDATA[mbs.SaveCacheSettings()]]></ontextchange>
</control>
</control>
-->
<!-- END: CACHE SETTINGS -->
<control type="group" id="9000">
<visible>App.HasSetting(loadingsettings)</visible>
<animation effect="fade" start="0" end="100" time="150">VisibleChange</animation>
<control type="image" id="9001">
<width>1280</width>
<height>720</height>
<texture>black.png</texture>
<animation effect="fade" start="80" end="80" time="0" condition="true">Conditional</animation>
</control>
<control type="label" id="9002">
<posy>0</posy>
<posx>0</posx>
<width>1280</width>
<height>720</height>
<align>center</align>
<aligny>center</aligny>
<font>sans40b</font>
<label>LOADING...</label>
<textcolor>ffffffff</textcolor>
</control>
</control>
</controls>
</window>