155 lines
8.5 KiB
XML
155 lines
8.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<includes>
|
|
<!--Hub options menu (sort order etc)-->
|
|
<include name="hubOptions">
|
|
<--hub options-->
|
|
<control type="group">
|
|
<animation type="Conditional" condition="!controlgroup(9002).hasfocus | window.isactive(1100)">
|
|
<effect type="fade" start="100" end="0" time="300"/>
|
|
</animation>
|
|
<animation type="Conditional" condition="controlgroup(9002).hasfocus">
|
|
<effect type="fade" start="0" end="100" time="300"/>
|
|
</animation>
|
|
<control type="image">
|
|
<include>dimensionsFullscreen</include>
|
|
<texture>colors/black.png</texture>
|
|
<colordiffuse>ccFFFFFF</colordiffuse>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<control type="image">
|
|
<include>dimensionsFullscreen</include>
|
|
<texture>vignette.png</texture>
|
|
<colordiffuse>ffffffff</colordiffuse>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<control type="group" id="9002">
|
|
<!--shortcuts-->
|
|
<control type="panel" id="9003">
|
|
<posx>col-10-begin</posx>
|
|
<posy>7-row</posy>
|
|
<width>6-col</width>
|
|
<height>2-row</height>
|
|
<itemgap>0</itemgap>
|
|
<ondown>Control.SetFocus(9004,0)</ondown>
|
|
<onleft>control.setfocus(9999)</onleft>
|
|
<onright>control.setfocus(9999)</onright>
|
|
<orientation>horizontal</orientation>
|
|
<itemlayout width="1-col" height="2-row">
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>1-col-textbox</width>
|
|
<height>69</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/black.png</texture>
|
|
<colordiffuse>overlay</colordiffuse>
|
|
</control>
|
|
<control type="label">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>1-col</width>
|
|
<height>2-row</height>
|
|
<align>center</align>
|
|
<aligny>center</aligny>
|
|
<font>symbolLarge</font>
|
|
<textcolor>textActive</textcolor>
|
|
<label>$INFO[ListItem.label2]</label>
|
|
</control>
|
|
</itemlayout>
|
|
<focusedlayout width="1-col" height="2-row">
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>1-col-textbox</width>
|
|
<height>69</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/white.png</texture>
|
|
<colordiffuse>highlight</colordiffuse>
|
|
</control>
|
|
<control type="label">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>1-col</width>
|
|
<height>2-row</height>
|
|
<align>center</align>
|
|
<aligny>center</aligny>
|
|
<font>symbolLarge</font>
|
|
<textcolor>textActive</textcolor>
|
|
<label>$INFO[ListItem.label2]</label>
|
|
<shadowcolor>-</shadowcolor>
|
|
</control>
|
|
</focusedlayout>
|
|
<content>
|
|
<item>
|
|
<visible>!Skin.HasSetting(hideVideo)</visible>
|
|
<label2></label2>
|
|
<onclick condition="!Library.HasContent(Video)">ActivateWindow(Videos,sources://video/)</onclick>
|
|
<onclick condition="!Library.HasContent(Video)">Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
<onclick condition="Library.HasContent(Video)">ActivateWindow(Videos,library://video/)</onclick>
|
|
<onclick condition="Library.HasContent(Video)">Skin.SetString(showRecentVideoItems,true)</onclick>
|
|
<onclick>Control.SetFocus(9000)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>!Skin.HasSetting(hideMusic)</visible>
|
|
<label2></label2>
|
|
<onclick condition="!Library.HasContent(Music)">ActivateWindow(Music,files)</onclick>
|
|
<onclick condition="!Library.HasContent(Music)">Skin.SetString(showRecentMusicItems,false)</onclick>
|
|
<onclick condition="Library.HasContent(Music)">ActivateWindow(Music,musicdb://)</onclick>
|
|
<onclick condition="Library.HasContent(Music)">Skin.SetString(showRecentMusicItems,true)</onclick>
|
|
<onclick>Control.SetFocus(9000)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>!Skin.HasSetting(hidePictures)</visible>
|
|
<label2></label2>
|
|
<onclick>ActivateWindow(pictures)</onclick>
|
|
<onclick>Control.SetFocus(9999)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>!Skin.HasSetting(hideGames) + System.HasAddon(script.games.rom.collection.browser)</visible>
|
|
<label2></label2>
|
|
<onclick>RunScript(script.games.rom.collection.browser,)</onclick>
|
|
<onclick>Control.SetFocus(9999)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>System.HasAddon(plugin.program.advanced.launcher)</visible>
|
|
<onclick>RunAddon(plugin.program.advanced.launcher,)</onclick>
|
|
<onclick>Control.SetFocus(9999)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>!Skin.HasSetting(hideSearch)</visible>
|
|
<label2></label2>
|
|
<onclick condition="!System.HasAddon(script.globalsearch)">RunPlugin(plugin://script.globalsearch)</onclick>
|
|
<onclick condition="System.HasAddon(script.globalsearch)">RunScript(script.globalsearch)</onclick>
|
|
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
<onclick>Control.SetFocus(9999)</onclick>
|
|
</item>
|
|
<item>
|
|
<label2></label2>
|
|
<onclick>ActivateWindow(settings)</onclick>
|
|
<onclick>Control.SetFocus(9999)</onclick>
|
|
</item>
|
|
</content>
|
|
</control>
|
|
|
|
<!--menu items-->
|
|
<control type="grouplist" id="9004">
|
|
<posx>col-10-begin</posx>
|
|
<posy>10-row</posy>
|
|
<itemgap>0</itemgap>
|
|
<width>6-col</width>
|
|
<height>17-row</height>
|
|
<itemgap>0</itemgap>
|
|
<onleft>control.setfocus(9999)</onleft>
|
|
<onright>control.setfocus(9999)</onright>
|
|
<onup>9003</onup>
|
|
<ondown>noop</ondown>
|
|
<include condition="Window.isactive(Videos) | window.isactive(videoplaylist) | window.isactive(tvchannels) | window.isactive(tvguide) | window.isactive(TVRecordings) | window.isactive(tvtimers)">videoSideMenu</include>
|
|
<include condition="Window.isactive(Music) | window.isactive(musicplaylist) | window.isactive(radiochannels)">musicSideMenu</include>
|
|
<include condition="window.isactive(pictures)">picturesSideMenu</include>
|
|
</control>
|
|
</control>
|
|
</control>
|
|
</include>
|
|
</includes>
|