skin.pellucid/1080i/custom_musicPlayerFullscree...

159 lines
5.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1103">
<defaultcontrol always="true">9876</defaultcontrol>
<onunload>control.setfocus(9999)</onunload>
<controls>
<control type="image">
<include>dimensionsFullscreen</include>
<texture>colors/black.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<control type="group">
<include>fadeInOut</include>
<control type="group">
<!--art-->
<control type="image">
<visible>!Visualisation.Enabled</visible>
<include>dimensionsFullscreen</include>
<texture>colors/white.jpg</texture>
<colordiffuse>background</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<visible>!Visualisation.Enabled</visible>
<include>dimensionsFullscreen</include>
<aspectratio scalediffuse="false">stretch</aspectratio>
<texture fallback="colors/offblack.png" border="0">$INFO[player.art(fanart)]</texture>
<fadetime>500</fadetime>
<colordiffuse>77ffffff</colordiffuse>
</control>
<!--visualisation-->
<control type="visualisation" id="2">
<visible>Visualisation.Enabled</visible>
<description>visualisation</description>
<posx>0</posx>
<posy>0</posy>
<include>dimensionsFullscreen</include>
</control>
</control>
<!--Track info-->
<control type="group">
<posx>col-1-begin</posx>
<posy>row-21-begin</posy>
<animation type="conditional" condition="!String.IsEqual(MusicPlayer.Time,00:00)">
<effect type="slide" start="0,500" end="0,0" tween="sine" time="400"/>
</animation>
<animation type="conditional" condition="true">
<effect type="fade" end="90" time="0"/>
</animation>
<!--track info (no vis)-->
<control type="group">
<visible>!Visualisation.Enabled</visible>
<posx>0</posx>
<posy>0</posy>
<control type="textbox">
<posx>5-col</posx>
<posy>36</posy>
<width>14-col</width>
<height>78</height>
<align>center</align>
<font>largeTitle</font>
<textcolor>textActive</textcolor>
<scroll>true</scroll>
<label>$INFO[MusicPlayer.Title]</label>
<shadowcolor>99000000</shadowcolor>
</control>
<control type="label">
<posx>4-col</posx>
<posy>3-row</posy>
<width>16-col</width>
<height>3-row</height>
<align>center</align>
<font>menuTitle</font>
<textcolor>textActive</textcolor>
<scroll>true</scroll>
<label>[B]$INFO[MusicPlayer.artist][/B][CR]$INFO[MusicPlayer.Album,, ]$INFO[MusicPlayer.year,(,)]</label>
<shadowcolor>99000000</shadowcolor>
</control>
<control type="progress">
<description>Progress Bar</description>
<posx>9-col</posx>
<posy>228</posy>
<width>6-col</width>
<height>12</height>
<texturebg colordiffuse="textboxInactive">colors/offblack.png</texturebg>
<midtexture colordiffuse="highlight">colors/white.png</midtexture>
<info>player.progress</info>
</control>
<control type="label">
<posx>624</posx>
<posy>6-row</posy>
<width>4-col</width>
<align>right</align>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<scroll>true</scroll>
<label>$INFO[musicplayer.Playlistposition]$INFO[musicplayer.Playlistlength, / ]</label>
<shadowcolor>99000000</shadowcolor>
</control>
<control type="label">
<posx>1104</posx>
<posy>6-row</posy>
<width>4-col</width>
<align>left</align>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<scroll>true</scroll>
<label>$INFO[MusicPlayer.timeremaining]</label>
<shadowcolor>99000000</shadowcolor>
</control>
<!--track info (vis)-->
<control type="group">
<visible>Visualisation.Enabled</visible>
<posx>0</posx>
<posy>-12</posy>
<control type="image">
<posx>-54</posx>
<posy>-6</posy>
<width>4-row</width>
<height>4-row</height>
<aspectratio>stretch</aspectratio>
<texture border="0" diffuse="masks/circle.png">$INFO[player.art(thumb)]</texture>
<colordiffuse>ccffffff</colordiffuse>
</control>
<control type="textbox">
<posx>114</posx>
<posy>0</posy>
<width>12-col</width>
<height>8-row</height>
<font>dialogTitle</font>
<textcolor>textActive</textcolor>
<scroll>true</scroll>
<label>[B]$INFO[MusicPlayer.Title][/B][CR]$INFO[MusicPlayer.artist][CR]$INFO[MusicPlayer.Album,, ]$INFO[MusicPlayer.year,(,)] • $INFO[musicplayer.Playlistposition,$LOCALIZE[554] ]$INFO[musicplayer.Playlistlength, / ] • $INFO[MusicPlayer.timeremaining]</label>
<shadowcolor>99000000</shadowcolor>
</control>
</control>
</control>
</control>
</control>
<!--hidden buttons to handle dialog autohide-->
<control type="button" id="9876">
<posx>-100</posx>
<posy>-100</posy>
<height>1-col</height>
<width>1-col</width>
<onup>VolumeUp</onup>
<ondown>VolumeDown</ondown>
<onleft>playercontrol(previous)</onleft>
<onright>playercontrol(next)</onright>
<onclick>activatewindow(1105)</onclick>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>custom_musicPlayerFullscreen.xml</label>
</control>
</controls>
</window>