-
Notifications
You must be signed in to change notification settings - Fork 2
/
Metrology - Fluent Carousel.xml
63 lines (49 loc) · 7.64 KB
/
Metrology - Fluent Carousel.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="utf-8"?>
<root>
// Based on Rdio Style
<settings enableScaling="true" />
<!-- Background Cover -->
<element type="BackgroundAlbumCover" brightness="0.2" refreshInterval="EndOfTrack"/>
<!-- Background Gallery -->
<!-- <element name="#Gallery" type="Gallery" x="0" y="0" widthDock="x:Panel.Right" width="0" heightDock="y:Panel.Bottom" height="0" aspectRatio="zoomKeep" fillColor="192,0,0,0" interval="30" brightness="0.2" tags="artist" />
<element type="Block" xAnchor="#Gallery.Left" x="0" yAnchor="#Gallery.Top" y="0" widthDock="x:#Gallery.Right" width="0" heightDock="y:#Gallery.Bottom" height="0" bg="232,0,0,0"/> -->
<!-- Album Cover -->
<element name="#Spacer" type="Block" xAnchor="#Gallery.Left" x="0" yAnchor="#Gallery.Top" y="0" widthDock="Panel.Height.10" width="0" heightDock="Panel.Height.10" height="0" bg="0,0,0,0"/>
<element type="AlbumCover" x="-100" y="-100" width="10" height="10" min="10" max="10"/>
<element name="#Cover" type="Block" xAnchor="#Spacer.Right" x="0" yAnchor="Panel.10" y="0" align="Top.Left" widthDock="Panel.Height.66" width="0" heightDock="Panel.Height.66" height="0" bg="0,0,0,0"/>
<element name="#SpacerR" type="Block" xAnchor="Panel.Right" x="0" yAnchor="#Gallery.Top" y="0" widthDock="Panel.Height.10" width="0" heightDock="Panel.Height.10" height="0" bg="0,255,0,0" align="Top.Right"/>
<element name="#SpacerC" type="Block" xAnchor="#Cover.Right" x="0" yAnchor="#Gallery.Top" y="20" widthDock="x:#SpacerR.Left" width="0" heightDock="Panel.Height.10" height="0" bg="0,255,255,0"/>
<!-- Album Carousel -->
<!-- Change "Tracks[x]" to "Albums[x]" if you don't want to see the same album cover repeated many times. -->
<element name="#Cover_09" type="AlbumCover" id="Tracks[9]" xAnchor="#SpacerC.100" x="0" yAnchor="#Cover.Bottom" y="-90" align="Bottom.Right" widthDock="Panel.Height.21" width="0" heightDock="Panel.Height.21" height="0" brightness="0.05"/>
<element name="#Cover_08" type="AlbumCover" id="Tracks[8]" xAnchor="#SpacerC.97.3" x="0" yAnchor="#Cover.Bottom" y="-80" align="Bottom.Right" widthDock="Panel.Height.26" width="0" heightDock="Panel.Height.26" height="0" brightness="0.05"/>
<element name="#Cover_07" type="AlbumCover" id="Tracks[7]" xAnchor="#SpacerC.93.7" x="0" yAnchor="#Cover.Bottom" y="-70" align="Bottom.Right" widthDock="Panel.Height.31" width="0" heightDock="Panel.Height.31" height="0" brightness="0.05"/>
<element name="#Cover_06" type="AlbumCover" id="Tracks[6]" xAnchor="#SpacerC.88.9" x="0" yAnchor="#Cover.Bottom" y="-60" align="Bottom.Right" widthDock="Panel.Height.36" width="0" heightDock="Panel.Height.36" height="0" brightness="0.08"/>
<element name="#Cover_05" type="AlbumCover" id="Tracks[5]" xAnchor="#SpacerC.82.4" x="0" yAnchor="#Cover.Bottom" y="-50" align="Bottom.Right" widthDock="Panel.Height.41" width="0" heightDock="Panel.Height.41" height="0" brightness="0.13"/>
<element name="#Cover_04" type="AlbumCover" id="Tracks[4]" xAnchor="#SpacerC.73.9" x="0" yAnchor="#Cover.Bottom" y="-40" align="Bottom.Right" widthDock="Panel.Height.46" width="0" heightDock="Panel.Height.46" height="0" brightness="0.19"/>
<element name="#Cover_03" type="AlbumCover" id="Tracks[3]" xAnchor="#SpacerC.62.5" x="0" yAnchor="#Cover.Bottom" y="-30" align="Bottom.Right" widthDock="Panel.Height.51" width="0" heightDock="Panel.Height.51" height="0" brightness="0.29"/>
<element name="#Cover_02" type="AlbumCover" id="Tracks[2]" xAnchor="#SpacerC.47.3" x="0" yAnchor="#Cover.Bottom" y="-20" align="Bottom.Right" widthDock="Panel.Height.56" width="0" heightDock="Panel.Height.56" height="0" brightness="0.44"/>
<element name="#Cover_01" type="AlbumCover" id="Tracks[1]" xAnchor="#SpacerC.27" x="0" yAnchor="#Cover.Bottom" y="-10" align="Bottom.Right" widthDock="Panel.Height.61" width="0" heightDock="Panel.Height.61" height="0" brightness="0.66"/>
<element name="#Cover_00" type="AlbumCover" id="Tracks[0]" xAnchor="#SpacerC.0" x="0" yAnchor="#Cover.Bottom" y="0" align="Bottom.Right" widthDock="Panel.Height.65" width="0" heightDock="Panel.Height.65" height="0" brightness="1.0"/>
<!-- Album Info -->
<element type="Field" id="Title" xAnchor="#Cover.Left" x="-5" yAnchor="#Cover.Bottom" y="40" widthDock="x:Panel.70" width="0" align="left" font="Segoe UI Semibold" style="Regular" size="32" fg="255,255,255" />
<element type="Field" id="Album" xAnchor="#Cover.Left" x="3" yAnchor="#Cover.Bottom" y="120" widthDock="x:#Cover.Right" width="0" align="left" font="Segoe UI" style="Regular" size="16" fg="192,192,192" />
<element type="Field" id="Artist" xAnchor="#Cover.Left" x="3" yAnchor="#Cover.Bottom" y="164" widthDock="x:#Cover.Right" width="0" align="left" font="Segoe UI" style="Regular" size="16" fg="255,255,255" />
<!-- Up Next -->
<element type="Block" xAnchor="#SpacerC.0" x="0" yAnchor="#Cover.Bottom" y="0" widthDock="x:Panel.Right" width="0" heightDock="y:Panel.Bottom" height="0" fg="255,255,255,255" mouseOverFg="0,255,255,255" bg="0,0,0,0" mouseOverBg="0,0,0,0">
<element type="Text" xAnchor="Panel.75" x="0" yAnchor="#Cover.Bottom" y="48" widthDock="Panel.20" width="0" align="left" font="Segoe UI" style="Bold" size="8" fg="192,192,192" mouseOverFg="0,192,192,192">UP NEXT</element>
<element type="Field" id="Tracks[1]" xAnchor="Panel.75" x="-5" yAnchor="#Cover.Bottom" y="72" widthDock="x:#SpacerR.Left" width="0" align="left" font="Segoe UI Semibold" style="Regular" size="16" fg="192,192,192" mouseOverFg="0,192,192,192"><child id="Title" width="Panel.20"/></element>
<element type="Field" id="Tracks[1]" xAnchor="Panel.75" x="-3" yAnchor="#Cover.Bottom" y="112" widthDock="x:#SpacerR.Left" width="0" align="left" font="Segoe UI" style="Regular" size="12" fg="128,128,128" mouseOverFg="0,192,192,192"><child id="Album" width="Panel.20"/></element>
<element type="Field" id="Tracks[1]" xAnchor="Panel.75" x="-3" yAnchor="#Cover.Bottom" y="144" widthDock="x:#SpacerR.Left" width="0" align="left" font="Segoe UI" style="Regular" size="12" fg="192,192,192" mouseOverFg="0,192,192,192"><child id="Artist" width="Panel.20"/></element>
</element>
<!-- Music Controls -->
<element type="PlayerBar" xAnchor="Panel.0" x="0" yAnchor="Panel.0" y="0" width="0" height="0"/>
<element type="Block" xAnchor="#SpacerC.0" x="0" yAnchor="#Cover.Bottom" y="0" widthDock="x:Panel.Right" width="0" heightDock="y:Panel.Bottom" height="0" fg="0,255,255,255" mouseOverFg="255,255,255,255" bg="0,0,0,0" mouseOverBg="0,0,0,0">
<element type="Text" xAnchor="#SpacerC.100" x="-480" yAnchor="#Cover.Bottom" y="164" widthDock="Panel.50" width="0" font="Segoe MDL2 Assets" style="Regular" size="20" fg="0,255,255,255" mouseOverFg="195,0,82" onClick="PlayPrevious"></element>
<element type="Text" xAnchor="#SpacerC.100" x="-336" yAnchor="#Cover.Bottom" y="164" widthDock="Panel.50" width="0" font="Segoe MDL2 Assets" style="Regular" size="20" fg="0,255,255,255" mouseOverFg="195,0,82" onClick="PlayPause" visibleTrigger="Playing"></element>
<element type="Text" xAnchor="#SpacerC.100" x="-336" yAnchor="#Cover.Bottom" y="164" widthDock="Panel.50" width="0" font="Segoe MDL2 Assets" style="Regular" size="20" fg="0,255,255,255" mouseOverFg="195,0,82" onClick="PlayPause" visibleTrigger="NotPlaying"></element>
<element type="Text" xAnchor="#SpacerC.100" x="-192" yAnchor="#Cover.Bottom" y="164" widthDock="Panel.50" width="0" font="Segoe MDL2 Assets" style="Regular" size="20" fg="0,255,255,255" mouseOverFg="195,0,82" onClick="PlayNext"></element>
<!-- Toolbar -->
<element type="Text" xAnchor="#SpacerC.100" x="-48" yAnchor="#Cover.Bottom" y="164" widthDock="Panel.50" width="0" font="Segoe MDL2 Assets" style="Regular" size="20" fg="0,255,255,255" mouseOverFg="195,0,82" onClick="OpenNowPlayingAssistant"></element>
</element>
</root>