199 lines
8.8 KiB
XML
199 lines
8.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<window>
|
|
<defaultcontrol always="true">8000</defaultcontrol>
|
|
<onunload>RunScript(script.skinshortcuts,type=buildxml&mainmenuID=9000)</onunload>
|
|
<controls>
|
|
<!--background-->
|
|
<include>globalBackground</include>
|
|
<control type="group">
|
|
<posx>col-4-begin</posx>
|
|
<posy>row-5-begin</posy>
|
|
<!--animations-->
|
|
<include>modalDialogInOutVertical</include>
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>18-col</width>
|
|
<height>2-row</height>
|
|
<texture>colors/white.png</texture>
|
|
<colordiffuse>highlight</colordiffuse>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<!--title-->
|
|
<control type="label">
|
|
<posx>24</posx>
|
|
<posy>0</posy>
|
|
<width>18-col-gutter</width>
|
|
<height>2-row</height>
|
|
<font>dialogTitle</font>
|
|
<label>$LOCALIZE[20077]</label>
|
|
<textcolor>textActive</textcolor>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>2-row</posy>
|
|
<width>18-col</width>
|
|
<height>18-row</height>
|
|
<texture>colors/black.png</texture>
|
|
<colordiffuse>overlay</colordiffuse>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<!--sub menu-->
|
|
<control type="group">
|
|
<posx>0</posx>
|
|
<posy>2-row</posy>
|
|
<!-- Category buttons -->
|
|
<control type="list" id="8000">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>4-col</width>
|
|
<height>18-row</height>
|
|
<onright>200</onright>
|
|
<itemlayout height="2-row" width="4-col">
|
|
<control type="label">
|
|
<posx>24</posx>
|
|
<posy>2</posy>
|
|
<width>4-col-gutter</width>
|
|
<height>2-row</height>
|
|
<aligny>center</aligny>
|
|
<font>buttonTitle</font>
|
|
<textcolor>textActive</textcolor>
|
|
<label>$INFO[ListItem.label]</label>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
</itemlayout>
|
|
<focusedlayout height="2-row" width="4-col">
|
|
<control type="image">
|
|
<visible>!control.hasfocus(8000)</visible>
|
|
<posx>0</posx>
|
|
<posy></posy>
|
|
<width>4-col</width>
|
|
<height>2-row</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/white.png</texture>
|
|
<colordiffuse>77FFFFFF</colordiffuse>
|
|
</control>
|
|
<control type="image">
|
|
<visible>control.hasfocus(8000)</visible>
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>4-col</width>
|
|
<height>2-row</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/white.png</texture>
|
|
</control>
|
|
<control type="label">
|
|
<posx>24</posx>
|
|
<posy>0</posy>
|
|
<width>4-col-gutter</width>
|
|
<height>2-row</height>
|
|
<aligny>center</aligny>
|
|
<font>buttonTitle</font>
|
|
<textcolor>black</textcolor>
|
|
<label>$INFO[ListItem.label]</label>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
</focusedlayout>
|
|
<content>
|
|
<item id="1">
|
|
<label>$LOCALIZE[128]</label>
|
|
<onclick>noop</onclick>
|
|
</item>
|
|
<item id="2">
|
|
<label>$LOCALIZE[31162]</label>
|
|
<onclick>noop</onclick>
|
|
</item>
|
|
<item id="3">
|
|
<label>$LOCALIZE[31044]</label>
|
|
<onclick>noop</onclick>
|
|
</item>
|
|
</content>
|
|
</control>
|
|
</control>
|
|
<!--options-->
|
|
<control type="image">
|
|
<posx>4-col</posx>
|
|
<posy>2-row</posy>
|
|
<width>14-col</width>
|
|
<height>18-row</height>
|
|
<texture>colors/black.png</texture>
|
|
<colordiffuse>overlay</colordiffuse>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<control type="grouplist" id="200">
|
|
<posx>4-col</posx>
|
|
<posy>2-row</posy>
|
|
<width>14-col</width>
|
|
<height>20-row</height>
|
|
<onleft>8000</onleft>
|
|
<itemgap>0</itemgap>
|
|
<orientation>vertical</orientation>
|
|
<control type="button" id="2">
|
|
<visible>Container(8000).Hasfocus(1)</visible>
|
|
<description>Set home background image</description>
|
|
<width>14-col</width>
|
|
<label>31116</label>
|
|
<label2>$INFO[Skin.String(homeBackground)]</label2>
|
|
<onclick>Skin.SetFile(homeBackground,.png|.jpg|.gif)</onclick>
|
|
<textwidth>8-col</textwidth>
|
|
</control>
|
|
<control type="radiobutton" id="1">
|
|
<visible>Container(8000).Hasfocus(1)</visible>
|
|
<description>Reverse power down options</description>
|
|
<width>14-col</width>
|
|
<label>31142</label>
|
|
<onclick>Skin.ToggleSetting(exitFirst)</onclick>
|
|
<selected>Skin.HasSetting(exitFirst)</selected>
|
|
</control>
|
|
<control type="radiobutton" id="7">
|
|
<visible>Container(8000).Hasfocus(3)</visible>
|
|
<description>Enable Debug Grid</description>
|
|
<width>14-col</width>
|
|
<label>31034</label>
|
|
<onclick>Skin.ToggleSetting(DebugGrid)</onclick>
|
|
<selected>Skin.HasSetting(DebugGrid)</selected>
|
|
</control>
|
|
<control type="radiobutton" id="8">
|
|
<visible>Container(8000).Hasfocus(3)</visible>
|
|
<description>Disable Debug Info</description>
|
|
<width>14-col</width>
|
|
<label>31035</label>
|
|
<onclick>Skin.ToggleSetting(DebugInfo)</onclick>
|
|
<selected>Skin.HasSetting(DebugInfo)</selected>
|
|
</control>
|
|
<control type="button" id="9">
|
|
<visible>Container(8000).Hasfocus(3)</visible>
|
|
<description>Reload skin</description>
|
|
<width>14-col</width>
|
|
<label>31043</label>
|
|
<onclick>ReloadSkin()</onclick>
|
|
<onclick>activateWindow(home)</onclick>
|
|
</control>
|
|
<control type="radiobutton" id="10">
|
|
<visible>Container(8000).Hasfocus(1)</visible>
|
|
<description>Disable fanart animation effect</description>
|
|
<width>14-col</width>
|
|
<label>31102</label>
|
|
<onclick>Skin.ToggleSetting(lowPowerMode)</onclick>
|
|
<onclick>ReloadSkin()</onclick>
|
|
<selected>Skin.HasSetting(lowPowerMode)</selected>
|
|
</control>
|
|
<control type="button" id="12">
|
|
<visible>Container(8000).Hasfocus(2)</visible>
|
|
<description>Reset main menu</description>
|
|
<width>14-col</width>
|
|
<label>31052</label>
|
|
<onclick>RunScript(script.skinshortcuts,type=resetall)</onclick>
|
|
</control>
|
|
</control>
|
|
</control>
|
|
<!--debugging-->
|
|
<include>DebugGrid</include>
|
|
<control type="label">
|
|
<include>DialogID</include>
|
|
<label>SkinSettings.xml</label>
|
|
</control>
|
|
</controls>
|
|
</window>
|