menu editor updated

This commit is contained in:
theDeadMan 2017-09-30 15:47:45 +01:00
parent 18a8313bfc
commit 64d81c919c
1 changed files with 102 additions and 79 deletions

View File

@ -4,16 +4,56 @@
<onunload>RunScript(script.skinshortcuts,type=buildxml&amp;mainmenuID=9001&amp;group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu)</onunload>
<onunload>control.setfocus(9000)</onunload>
<controls>
<!--background-->
<!--background-->
<include>globalBackground</include>
<control type="group">
<posx>0</posx>
<posy>0</posy>
<!--options-->
<control type="grouplist" id="300">
<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>
<control type="image">
<posx>0</posx>
<posy>71</posy>
<width>18-col</width>
<height>1</height>
<texture>colors/black.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<!--title-->
<control type="label">
<posx>24</posx>
<posy>row-4-begin</posy>
<width>5-col</width>
<posy>0</posy>
<width>18-col-gutter</width>
<height>2-row</height>
<font>dialogTitle</font>
<label>$LOCALIZE[31171]</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>
<!--options-->
<control type="grouplist" id="300">
<posx>0</posx>
<posy>2-row</posy>
<width>4-col</width>
<height>18-row</height>
<control type="button" id="301">
<description>Add a new shortcut</description>
<onright>211</onright>
@ -64,79 +104,62 @@
<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>
<!-- id 211 - Current shortcuts -->
<!--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>
<control type="list" id="211">
<posx>4-col</posx>
<posy>2-row</posy>
<width>14-col</width>
<height>18-row</height>
<onleft>300</onleft>
<orientation>vertical</orientation>
<itemlayout width="14-col" height="2-row">
<control type="label">
<posx>24</posx>
<posy>0</posy>
<width>13-col</width>
<height>2-row</height>
<font>buttonTitle</font>
<aligny>center</aligny>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label]</label>
</control>
</itemlayout>
<focusedlayout width="14-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>14-col</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>24</posx>
<posy>0</posy>
<width>13-col</width>
<height>2-row</height>
<font>buttonTitle</font>
<aligny>center</aligny>
<textcolor>black</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label]</label>
</control>
</focusedlayout>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">