skin.pellucid/xml/Includes_hubMenu.xml

232 lines
11 KiB
XML
Raw Normal View History

2015-03-27 21:31:13 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<includes>
<!--main hub menu-->
<include name="hubMenu">
2017-09-20 21:10:17 +02:00
<control type="image">
<include>dimensionsFullscreen</include>
<texture>colors/black.png</texture>
2018-01-22 00:45:57 +01:00
<colordiffuse>d5FFFFFF</colordiffuse>
2017-09-20 21:10:17 +02:00
<aspectratio>stretch</aspectratio>
<animation type="Conditional" condition="controlgroup(9000).hasfocus">
<effect type="fade" start="0" end="100" time="200"/>
</animation>
<animation type="Conditional" condition="!controlgroup(9000).hasfocus">
<effect type="fade" start="100" end="0" time="100"/>
</animation>
</control>
2015-03-27 21:31:13 +01:00
<control type="group" id="9000">
2015-07-09 21:58:54 +02:00
<animation type="windowopen">
2017-07-11 21:28:34 +02:00
<effect type="slide" start="-384" end="0" tween="sine" delay="500" time="400"/>
2017-09-24 01:12:32 +02:00
</animation>
<animation type="windowclose">
<effect type="fade" start="100" end="0" time="0"/>
2015-07-09 21:58:54 +02:00
</animation>
2015-03-27 21:31:13 +01:00
<animation type="Conditional" condition="controlgroup(9000).hasfocus">
2017-07-11 21:28:34 +02:00
<effect type="slide" start="-384" end="0" tween="sine" time="400"/>
2015-03-27 21:31:13 +01:00
</animation>
<animation type="Conditional" condition="!controlgroup(9000).hasfocus">
2017-07-11 21:28:34 +02:00
<effect type="slide" start="0" end="-384" tween="sine" time="400"/>
2015-03-27 21:31:13 +01:00
</animation>
<control type="image">
2018-09-14 19:18:57 +02:00
<posx>-200</posx>
<posy>-200</posy>
<width>584</width>
<height>1500</height>
2018-01-24 17:55:58 +01:00
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
2015-07-09 22:18:48 +02:00
<aspectratio>stretch</aspectratio>
</control>
2016-11-08 11:36:35 +01:00
<!--logo-->
2018-01-22 21:09:21 +01:00
<control type="group">
<posx>col-1-begin</posx>
<posy>row-2-begin</posy>
<control type="label">
2018-01-24 17:55:58 +01:00
<posx>0</posx>
<posy>-12</posy>
2018-01-22 21:09:21 +01:00
<width>73</width>
<height>73</height>
<font>symbolVeryLarge</font>
<aligny>center</aligny>
2018-01-24 17:55:58 +01:00
<textcolor>eeffffff</textcolor>
2018-01-22 21:09:21 +01:00
<label>$VAR[menuLogo]</label>
</control>
</control>
2021-06-06 16:37:31 +02:00
<!--player controls (if media playing)-->
<control type="group">
<visible>player.hasaudio</visible>
2021-06-06 16:37:31 +02:00
<posx>0</posx>
<posy>row-5-begin</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>col-5-begin</width>
<height>1-col</height>
<aspectratio>stretch</aspectratio>
<texture>colors/black.png</texture>
<colordiffuse>33ffffff</colordiffuse>
</control>
<control type="image">
<visible>control.hasfocus(5115)</visible>
2021-06-06 16:37:31 +02:00
<posx>0</posx>
<posy>0</posy>
<width>col-5-begin</width>
<height>1-col</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
</control>
<control type="panel" id="5115">
<posx>46</posx>
2021-06-06 16:37:31 +02:00
<posy>0</posy>
<width>col-5-begin</width>
<height>2-row</height>
<itemgap>0</itemgap>
<ondown>Control.SetFocus(9001)</ondown>
<onright condition="!window.isactive(1103)">9999</onright>
<onright condition="window.isactive(1103)">control.setfocus(9876)</onright>
<orientation>horizontal</orientation>
<itemlayout width="1-col" height="2-row">
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbol</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
</control>
<control type="label">
<visible>control.hasfocus(5115)</visible>
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbol</font>
<textcolor>highlight</textcolor>
<label>$INFO[ListItem.label2]</label>
</control>
</itemlayout>
<focusedlayout width="1-col" height="2-row">
<control type="image">
<posx>3</posx>
<posy>3</posy>
<width>66</width>
<height>66</height>
<aspectratio>stretch</aspectratio>
2022-08-13 12:24:26 +02:00
<texture diffuse="masks/square.png">colors/white.png</texture>
2021-06-06 16:37:31 +02:00
<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>symbol</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
<shadowcolor></shadowcolor>
</control>
</focusedlayout>
<content>
<item>
<description>Previous</description>
<label2></label2>
<thumb></thumb>
<onclick>PlayerControl(previous)</onclick>
</item>
<item>
<description>Stop</description>
<label2></label2>
<thumb></thumb>
<onclick>PlayerControl(stop)</onclick>
<onclick>Dialog.Close(1103)</onclick>
</item>
<item>
<visible>Player.Playing | player.forwarding | player.rewinding</visible>
<description>Play/Pause</description>
<label2></label2>
<thumb></thumb>
<onclick>PlayerControl(play)</onclick>
</item>
<item>
<visible>Player.Paused</visible>
<description>Pause</description>
<label2></label2>
<thumb></thumb>
<onclick>PlayerControl(play)</onclick>
</item>
<item>
<description>Next Chapter</description>
<label2></label2>
<thumb></thumb>
<onclick>PlayerControl(next)</onclick>
</item>
</content>
</control>
</control>
<control type="panel" id="9001">
<animation condition="player.hasaudio" effect="slide" end="0,72" time="0">conditional</animation>
2015-03-27 21:31:13 +01:00
<posx>0</posx>
2018-01-24 17:55:58 +01:00
<posy>row-5-begin</posy>
2016-02-26 21:34:36 +01:00
<width>col-5-begin</width>
2016-11-08 11:36:35 +01:00
<height>832</height>
2015-03-27 21:31:13 +01:00
<orientation>vertical</orientation>
2021-06-06 16:37:31 +02:00
<onright condition="!window.isactive(1103)">9999</onright>
<onright condition="window.isactive(1103)">9876</onright>
<onup condition="control.isvisible(5115)">control.setfocus(5115)</onup>
2016-11-17 18:38:24 +01:00
<onback>activateWindow(home)</onback>
2016-02-26 21:34:36 +01:00
<itemlayout width="col-5-begin" height="2-row">
2015-03-27 21:31:13 +01:00
<control type="label">
<posx>col-1-begin</posx>
<posy>0</posy>
2016-02-26 21:34:36 +01:00
<width>4-col-gutter</width>
2015-03-27 21:31:13 +01:00
<height>2-row</height>
2018-10-10 23:49:39 +02:00
<font>menuTitle2</font>
2015-03-27 21:31:13 +01:00
<aligny>center</aligny>
2018-01-24 17:55:58 +01:00
<textcolor>eeffffff</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2017-03-15 21:14:30 +01:00
<label>[CAPITALIZE]$INFO[ListItem.label][/CAPITALIZE]</label>
2015-03-27 21:31:13 +01:00
</control>
</itemlayout>
2016-02-26 21:34:36 +01:00
<focusedlayout width="col-5-begin" height="2-row">
2018-01-24 17:55:58 +01:00
<control type="image">
2018-02-13 14:06:29 +01:00
<posx>0</posx>
2018-01-24 17:55:58 +01:00
<posy>0</posy>
2016-02-26 21:34:36 +01:00
<width>col-5-begin</width>
2015-03-27 21:31:13 +01:00
<height>2-row</height>
<texture>colors/white.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<control type="label">
<posx>col-1-begin</posx>
<posy>0</posy>
2016-02-26 21:34:36 +01:00
<width>4-col-gutter</width>
2015-03-27 21:31:13 +01:00
<height>2-row</height>
2018-10-10 23:49:39 +02:00
<font>menuTitle2</font>
2015-03-27 21:31:13 +01:00
<aligny>center</aligny>
2018-01-24 17:55:58 +01:00
<textcolor>highlight</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2017-03-15 21:14:30 +01:00
<label>[CAPITALIZE]$INFO[ListItem.label][/CAPITALIZE]</label>
2015-03-27 21:31:13 +01:00
</control>
</focusedlayout>
2016-11-17 18:38:24 +01:00
<content>
2021-09-29 18:08:59 +02:00
<include condition="window.isactive(games)">menus-gamemenu</include>
<include condition="window.isactive(pictures)">menus-picturemenu</include>
<include condition="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) | window.isactive(1103)">menus-musicmenu</include>
<include condition="[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)">menus-videomenu</include>
2016-11-17 18:38:24 +01:00
</content>
2015-03-27 21:31:13 +01:00
</control>
</control>
</include>
</includes>