101 lines
5.2 KiB
XML
101 lines
5.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<includes>
|
|
<!--main hub menu-->
|
|
<include name="hubMenu">
|
|
<control type="group" id="9000">
|
|
<animation type="windowopen">
|
|
<effect type="slide" start="-384" end="0" tween="sine" delay="500" time="400"/>
|
|
</animation>
|
|
<animation type="Conditional" condition="controlgroup(9000).hasfocus">
|
|
<effect type="slide" start="-384" end="0" tween="sine" time="400"/>
|
|
</animation>
|
|
<animation type="Conditional" condition="!controlgroup(9000).hasfocus">
|
|
<effect type="slide" start="0" end="-384" tween="sine" 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">
|
|
<visible>window.isactive(home)</visible>
|
|
<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>
|
|
<control type="label">
|
|
<visible>!window.isactive(home)"</visible>
|
|
<posx>col-1-begin</posx>
|
|
<posy>row-1-begin</posy>
|
|
<width>1-col</width>
|
|
<height>1-col</height>
|
|
<font>symbolVeryLarge</font>
|
|
<aligny>center</aligny>
|
|
<textcolor>textActive</textcolor>
|
|
<shadowcolor>-</shadowcolor>
|
|
<label>$VAR[menuLogo]</label>
|
|
</control>
|
|
<control type="list" id="9001">
|
|
<posx>0</posx>
|
|
<posy>row-4-begin</posy>
|
|
<width>col-5-begin</width>
|
|
<height>832</height>
|
|
<orientation>vertical</orientation>
|
|
<onleft condition="!window.isactive(home)">activateWindow(1104)</onleft>
|
|
<onright>9999</onright>
|
|
<onback>activateWindow(home)</onback>
|
|
<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>[CAPITALIZE]$INFO[ListItem.label][/CAPITALIZE]</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>
|
|
</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>[CAPITALIZE]$INFO[ListItem.label][/CAPITALIZE]</label>
|
|
</control>
|
|
</focusedlayout>
|
|
<content>
|
|
<include condition="window.isactive(home)">skinshortcuts-mainmenu</include>
|
|
<include condition="window.isactive(pictures)">skinshortcuts-group-picturessubmenu</include>
|
|
<include condition="[window.isactive(1106) + String.IsEqual(skin.string(recentitems),music)] | String.Contains(container.folderpath,videodb://musicvideos/titles) | window.isactive(music) | window.isactive(radiochannels) | window.isactive(radioguide) | window.isactive(radiorecordings) | window.isactive(radiotimers) | window.isactive(musicplaylist)">skinshortcuts-group-musicsubmenu</include>
|
|
<include condition="[window.isactive(1106) + String.IsEqual(skin.string(recentitems),video)] | [window.isactive(videos) + !String.Contains(container.folderpath,videodb://musicvideos/titles)] | window.isactive(tvchannels) | window.isactive(tvrecordings) | window.isactive(tvguide) | window.isactive(tvtimers) | window.isactive(videoplaylist)">skinshortcuts-group-videosubmenu</include>
|
|
</content>
|
|
</control>
|
|
</control>
|
|
</include>
|
|
</includes>
|