[XAudio2] share Xbox audio device enumeration with desktop and Windows 8.1 compatibility
[xbmc.git] / addons / skin.estuary / xml / Custom_1109_TopBarOverlay.xml
blob9a5aed2d4633ee23f1663cc07183ae91194854c5
1 <?xml version="1.0" encoding="utf-8"?>
2 <window type="dialog" id="1109">
3         <onload>Skin.TimerStart(1109_topbaroverlay)</onload>
4         <visible>Window.IsActive(fullscreenvideo) | Window.IsActive(visualisation)</visible>
5         <visible>Window.IsActive(seekbar) | Window.IsActive(pvrosdchannels) | Window.IsActive(pvrchannelguide)</visible>
6         <depth>DepthOSD</depth>
7         <include>Animation_TopSlide</include>
8         <zorder>0</zorder>
9         <controls>
10                 <control type="group">
11                         <visible>![Player.ShowInfo | Window.IsActive(fullscreeninfo) | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) | Window.IsActive(playerprocessinfo) | Window.IsActive(pvrosdchannels) | Window.IsActive(pvrchannelguide)] + [!String.IsEmpty(Player.SeekNumeric) | Player.Seeking | Player.HasPerformedSeek(3) | Player.Forwarding | Player.Rewinding | Player.Paused] | !String.IsEmpty(PVR.ChannelNumberInput)</visible>
12                         <animation effect="fade" start="0" end="100" time="300">VisibleChange</animation>
13                         <animation effect="slide" start="0,0" end="0,-80" time="300" condition="Player.Paused + Integer.IsGreaterOrEqual(Skin.TimerElapsedSecs(1109_topbaroverlay),5)">Conditional</animation>
14                         <control type="image">
15                                 <left>0</left>
16                                 <top>0</top>
17                                 <width>100%</width>
18                                 <height>55</height>
19                                 <texture colordiffuse="D0FFFFFF" border="0,55,0,0">frame/osdfade.png</texture>
20                         </control>
21                         <control type="label">
22                                 <left>25</left>
23                                 <top>6</top>
24                                 <width>700</width>
25                                 <height>60</height>
26                                 <label>$VAR[SeekLabel]</label>
27                                 <font>font30_title</font>
28                                 <shadowcolor>black</shadowcolor>
29                         </control>
30                         <control type="label">
31                                 <centerleft>50%</centerleft>
32                                 <top>0</top>
33                                 <width>50%</width>
34                                 <height>55</height>
35                                 <align>center</align>
36                                 <label>$VAR[SeekTimeLabelVar]</label>
37                                 <font>font37</font>
38                                 <visible>!Player.ChannelPreviewActive | VideoPlayer.HasEpg</visible>
39                         </control>
40                         <control type="label">
41                                 <right>25</right>
42                                 <top>6</top>
43                                 <width>700</width>
44                                 <height>60</height>
45                                 <align>right</align>
46                                 <font>font30_title</font>
47                                 <label>$INFO[player.chapter,[COLOR button_focus]$LOCALIZE[21396]:[/COLOR] ]$INFO[Player.ChapterCount,/]</label>
48                                 <visible>!VideoPlayer.Content(LiveTV) + player.chaptercount</visible>
49                         </control>
50                         <control type="label">
51                                 <right>25</right>
52                                 <top>6</top>
53                                 <width>700</width>
54                                 <height>60</height>
55                                 <align>right</align>
56                                 <font>font30_title</font>
57                                 <label>[COLOR button_focus]$LOCALIZE[31026][/COLOR] $INFO[PVR.TimeshiftCur] (-$INFO[PVR.TimeshiftOffset])</label>
58                                 <visible>VideoPlayer.Content(LiveTV) + PVR.IsTimeShift</visible>
59                         </control>
60                         <control type="progress">
61                                 <left>0</left>
62                                 <top>55</top>
63                                 <width>100%</width>
64                                 <height>16</height>
65                                 <info>Player.ProgressCache</info>
66                                 <texturebg border="3" colordiffuse="60FFFFFF">colors/white50.png</texturebg>
67                                 <midtexture>colors/white50.png</midtexture>
68                                 <visible>!VideoPlayer.Content(LiveTV)</visible>
69                         </control>
70                         <control type="progress">
71                                 <left>0</left>
72                                 <top>55</top>
73                                 <width>100%</width>
74                                 <height>16</height>
75                                 <info>Player.Progress</info>
76                                 <texturebg border="3" colordiffuse="60FFFFFF">colors/white50.png</texturebg>
77                                 <midtexture colordiffuse="button_focus">colors/white.png</midtexture>
78                                 <visible>!VideoPlayer.Content(LiveTV)</visible>
79                         </control>
80                         <control type="slider">
81                                 <left>0</left>
82                                 <top>50</top>
83                                 <width>100%</width>
84                                 <height>26</height>
85                                 <texturesliderbar colordiffuse="00FFFFFF">osd/progress/nub_bar.png</texturesliderbar>
86                                 <textureslidernib colordiffuse="button_focus">osd/progress/nub_bar.png</textureslidernib>
87                                 <textureslidernibfocus colordiffuse="button_focus">colors/white.png</textureslidernibfocus>
88                                 <info>Player.Seekbar</info>
89                                 <visible>!VideoPlayer.Content(LiveTV) + [Player.Seeking | Player.HasPerformedSeek(3) | Player.Paused]</visible>
90                         </control>
91                         <control type="group">
92                                 <visible>VideoPlayer.Content(LiveTV)</visible>
93                                 <control type="group">
94                                         <visible>Player.SeekEnabled + VideoPlayer.HasEPG</visible>
95                                         <include content="PVRProgress">
96                                                 <param name="ts_bar_top" value="55"/>
97                                                 <param name="epg_bar_top" value="63"/>
98                                                 <param name="ts_bar_height" value="8"/>
99                                                 <param name="epg_bar_height" value="8"/>
100                                         </include>
101                                 </control>
102                                 <control type="group">
103                                         <visible>Player.SeekEnabled + !VideoPlayer.HasEPG</visible>
104                                         <include content="PVRProgress">
105                                                 <param name="ts_bar_top" value="55"/>
106                                                 <param name="ts_bar_height" value="16"/>
107                                         </include>
108                                 </control>
109                                 <control type="group">
110                                         <visible>!Player.SeekEnabled + VideoPlayer.HasEPG</visible>
111                                         <include content="PVRProgress">
112                                                 <param name="epg_bar_top" value="55"/>
113                                                 <param name="epg_bar_height" value="16"/>
114                                         </include>
115                                 </control>
116                         </control>
117                         <control type="slider">
118                                 <left>0</left>
119                                 <top>50</top>
120                                 <width>100%</width>
121                                 <height>26</height>
122                                 <texturesliderbar colordiffuse="00FFFFFF">osd/progress/nub_bar.png</texturesliderbar>
123                                 <textureslidernib colordiffuse="button_focus">osd/progress/nub_bar.png</textureslidernib>
124                                 <textureslidernibfocus colordiffuse="button_focus">colors/white.png</textureslidernibfocus>
125                                 <info>PVR.TimeShiftSeekbar</info>
126                                 <visible>VideoPlayer.Content(LiveTV) + [Player.Seeking | Player.HasPerformedSeek(3) | Player.Paused] + !Player.ChannelPreviewActive</visible>
127                         </control>
128                         <control type="ranges">
129                                 <left>0</left>
130                                 <top>55</top>
131                                 <width>100%</width>
132                                 <height>8</height>
133                                 <texturebg border="3" colordiffuse="00FFFFFF">colors/white50.png</texturebg>
134                                 <lefttexture>colors/white.png</lefttexture>
135                                 <midtexture colordiffuse="FFFF0000">colors/white.png</midtexture>
136                                 <righttexture>colors/white.png</righttexture>
137                                 <info>Player.Editlist</info>
138                         </control>
139                         <control type="ranges">
140                                 <left>0</left>
141                                 <top>67</top>
142                                 <width>100%</width>
143                                 <height>8</height>
144                                 <texturebg border="3" colordiffuse="00FFFFFF">colors/red50.png</texturebg>
145                                 <righttexture>colors/red.png</righttexture>
146                                 <info>Player.Cuts</info>
147                         </control>
148                         <control type="ranges">
149                                 <left>0</left>
150                                 <top>67</top>
151                                 <width>100%</width>
152                                 <height>4</height>
153                                 <texturebg border="3" colordiffuse="00FFFFFF">colors/white50.png</texturebg>
154                                 <righttexture>colors/white.png</righttexture>
155                                 <info>Player.SceneMarkers</info>
156                         </control>
157                         <control type="ranges">
158                                 <left>0</left>
159                                 <top>67</top>
160                                 <width>100%</width>
161                                 <height>4</height>
162                                 <texturebg border="3" colordiffuse="00FFFFFF">colors/white50.png</texturebg>
163                                 <righttexture>colors/white.png</righttexture>
164                                 <info>Player.Chapters</info>
165                         </control>
166                 </control>
167                 <control type="group">
168                         <animation effect="slide" end="0,-200" time="300" tween="sine" easing="inout" condition="$EXP[infodialog_active]">conditional</animation>
169                         <animation effect="slide" start="0,-200" end="0,0" time="300" tween="cubic" easing="out">VisibleChange</animation>
170                         <visible>Player.ShowInfo | Window.IsActive(fullscreeninfo) | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) | Window.IsActive(playerprocessinfo) | Window.IsActive(pvrosdchannels) | Window.IsActive(pvrchannelguide) + ![Player.Seeking | Player.HasPerformedSeek(3) | Player.Forwarding | Player.Rewinding | Player.Paused] | !String.IsEmpty(PVR.ChannelNumberInput)</visible>
171                         <depth>DepthBars</depth>
172                         <control type="image">
173                                 <left>0</left>
174                                 <top>0</top>
175                                 <width>100%</width>
176                                 <height>170</height>
177                                 <texture>frame/osdfade.png</texture>
178                         </control>
179                         <control type="group">
180                                 <animation effect="slide" end="90,0" time="0" condition="Skin.HasSetting(touchmode)">conditional</animation>
181                                 <control type="grouplist">
182                                         <visible>!String.IsEmpty(Player.Art(tvshow.clearlogo)) | !String.IsEmpty(Player.Art(clearlogo))</visible>
183                                         <top>10</top>
184                                         <left>20</left>
185                                         <right>400</right>
186                                         <height>100</height>
187                                         <itemgap>10</itemgap>
188                                         <orientation>horizontal</orientation>
189                                         <control type="image">
190                                                 <width>300</width>
191                                                 <texture>$VAR[PlayerClearLogoVar]</texture>
192                                                 <aspectratio aligny="center" align="center">keep</aspectratio>
193                                         </control>
194                                         <control type="label">
195                                                 <align>left</align>
196                                                 <aligny>center</aligny>
197                                                 <font>font13</font>
198                                                 <label>$VAR[OSDSubLabelVar]</label>
199                                                 <shadowcolor>text_shadow</shadowcolor>
200                                                 <scroll>true</scroll>
201                                         </control>
202                                 </control>
203                                 <control type="group">
204                                         <visible>!Window.IsActive(pvrosdchannels) + !Window.IsActive(pvrchannelguide)</visible>
205                                         <visible>String.IsEmpty(Player.Art(clearlogo))</visible>
206                                         <visible>String.IsEmpty(Player.Art(tvshow.clearlogo))</visible>
207                                         <animation effect="fade" time="150">VisibleChange</animation>
208                                         <left>20</left>
209                                         <right>400</right>
210                                         <control type="label">
211                                                 <label>$VAR[NowPlayingBreadcrumbsVar]</label>
212                                                 <font>font45</font>
213                                                 <shadowcolor>text_shadow</shadowcolor>
214                                                 <top>7</top>
215                                                 <height>50</height>
216                                         </control>
217                                         <control type="label">
218                                                 <top>60</top>
219                                                 <label>$VAR[OSDSubLabelVar]</label>
220                                                 <shadowcolor>text_shadow</shadowcolor>
221                                                 <height>60</height>
222                                         </control>
223                                 </control>
224                         </control>
225                         <control type="group">
226                                 <visible>!Window.IsVisible(extendedprogressdialog)</visible>
227                                 <animation effect="fade" time="150">VisibleChange</animation>
228                                 <control type="label">
229                                         <font>font_clock</font>
230                                         <shadowcolor>text_shadow</shadowcolor>
231                                         <top>0</top>
232                                         <right>20</right>
233                                         <height>200</height>
234                                         <width>600</width>
235                                         <align>right</align>
236                                         <label>$INFO[System.Time]</label>
237                                 </control>
238                                 <control type="grouplist">
239                                         <right>24</right>
240                                         <top>74</top>
241                                         <width>800</width>
242                                         <height>100</height>
243                                         <align>right</align>
244                                         <itemgap>5</itemgap>
245                                         <orientation>horizontal</orientation>
246                                         <usecontrolcoords>true</usecontrolcoords>
247                                         <control type="label">
248                                                 <label>$INFO[Player.FinishTime,$LOCALIZE[31080]: ]</label>
249                                                 <shadowcolor>text_shadow</shadowcolor>
250                                                 <height>100</height>
251                                                 <width>auto</width>
252                                                 <visible>!String.isempty(Player.Duration)</visible>
253                                                 <visible>Player.HasVideo + ![Player.HasGame | VideoPlayer.HasEpg]</visible>
254                                         </control>
255                                         <control type="label">
256                                                 <label>$INFO[PVR.EpgEventFinishTime,$LOCALIZE[31080]: ]</label>
257                                                 <shadowcolor>text_shadow</shadowcolor>
258                                                 <height>100</height>
259                                                 <width>auto</width>
260                                                 <visible>VideoPlayer.HasEpg</visible>
261                                         </control>
262                                         <control type="image">
263                                                 <top>2</top>
264                                                 <left>0</left>
265                                                 <width>60</width>
266                                                 <height>40</height>
267                                                 <fadetime>300</fadetime>
268                                                 <aspectratio aligny="center" align="right">keep</aspectratio>
269                                                 <texture>dialogs/volume/mute.png</texture>
270                                                 <visible>Player.Muted</visible>
271                                         </control>
272                                 </control>
273                         </control>
274                 </control>
275         </controls>
276 </window>