skin.pellucid/1080i/script-skinshortcuts.xml

170 lines
7.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="false">211</defaultcontrol>
<onunload>RunScript(script.skinshortcuts,type=buildxml&amp;mainmenuID=9001&amp;group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu)</onunload>
<onunload>control.setfocus(9000)</onunload>
<controls>
<!--background-->
<include>globalBackground</include>
<control type="group">
<visible>!skin.string(homeBackground)</visible>
<animation type="windowOpen" condition="!Skin.HasSetting(lowPowerMode)">
<effect type="zoom" center="auto" start="105" tween="sine" end="100" time="1500"/>
</animation>
<control type="multiimage">
<include>dimensionsFullscreen</include>
<imagepath>$VAR[homeBackgroundLocation]</imagepath>
<timeperimage>45000</timeperimage>
<fadetime>1000</fadetime>
<pauseatend>10000</pauseatend>
<randomize>true</randomize>
<loop>yes</loop>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<include>dimensionsFullscreen</include>
<texture>vignette.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
</control>
<control type="group">
<posx>0</posx>
<posy>0</posy>
<!--options-->
<control type="grouplist" id="300">
<posx>24</posx>
<posy>row-4-begin</posy>
<width>5-col</width>
<control type="button" id="301">
<description>Add a new shortcut</description>
<onright>211</onright>
<width>5-col-gutter</width>
<onclick>noop</onclick>
<label>$ADDON[script.skinshortcuts 32000]</label>
</control>
<control type="button" id="302">
<description>Delete shortcut</description>
<onright>211</onright>
<width>5-col-gutter</width>
<onclick>noop</onclick>
<label>$ADDON[script.skinshortcuts 32001]</label>
</control>
<control type="button" id="303">
<description>Move shortcut up</description>
<onright>211</onright>
<width>5-col-gutter</width>
<onclick>noop</onclick>
<label>$ADDON[script.skinshortcuts 32002]</label>
</control>
<control type="button" id="304">
<description>Move shortcut down</description>
<onright>211</onright>
<width>5-col-gutter</width>
<onclick>noop</onclick>
<label>$ADDON[script.skinshortcuts 32003]</label>
</control>
<control type="button" id="305">
<description>Change shortcut label</description>
<onright>211</onright>
<width>5-col-gutter</width>
<onclick>noop</onclick>
<label>$ADDON[script.skinshortcuts 32025]</label>
</control>
<control type="button" id="307">
<description>Change shortcut action</description>
<onright>211</onright>
<width>5-col-gutter</width>
<onclick>noop</onclick>
<label>$ADDON[script.skinshortcuts 32027]</label>
</control>
<control type="button" id="308">
<description>Reset shortcuts</description>
<onright>211</onright>
<width>5-col-gutter</width>
<onclick>noop</onclick>
<label>$ADDON[script.skinshortcuts 32028]</label>
</control>
</control>
<control type="group">
<animation type="windowopen">
<effect type="slide" start="0" end="col-5-begin" tween="sine" easing="out" delay="0" time="400"/>
</animation>
<animation type="windowclose">
<effect type="slide" start="col-5-begin" end="0" tween="sine" easing="out" time="400"/>
</animation>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>col-5-begin</width>
<height>fullscreenHeight</height>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<!--logo-->
<control type="image">
<posx>col-1-begin</posx>
<posy>row-1-begin</posy>
<width>1-col</width>
<height>1-col</height>
<texture>kodilogo.png</texture>
<colordiffuse>textActive</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<!-- id 211 - Current shortcuts -->
<control type="list" id="211">
<posx>0</posx>
<posy>row-4-begin</posy>
<width>col-5-begin</width>
<height>24-row</height>
<onleft>300</onleft>
<orientation>vertical</orientation>
<itemlayout width="col-5-begin" height="2-row">
<control type="label">
<posx>col-1-begin</posx>
<posy>0</posy>
<width>4-col-gutter</width>
<height>2-row</height>
<font>menuTitle</font>
<aligny>center</aligny>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label]</label>
</control>
</itemlayout>
<focusedlayout width="col-5-begin" height="2-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>col-5-begin</width>
<height>2-row</height>
<texture>colors/white.png</texture>
<colordiffuse>textActive</colordiffuse>
<aspectratio>stretch</aspectratio>
<animation effect="fade" start="100" end="50" condition="!Control.HasFocus(211)">Conditional</animation>
</control>
<control type="label">
<posx>col-1-begin</posx>
<posy>0</posy>
<width>4-col-gutter</width>
<height>2-row</height>
<font>menuTitle</font>
<aligny>center</aligny>
<textcolor>highlight</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label]</label>
</control>
</focusedlayout>
</control>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>WindowID</include>
<label>script-skinshortcuts.xml</label>
</control>
</controls>
</window>