[XAudio2] share Xbox audio device enumeration with desktop and Windows 8.1 compatibility
[xbmc.git] / addons / skin.estuary / xml / Includes_Games.xml
blob636d7594f5226d874911bf41d3d2fbc8c7bb5b65
1 <?xml version="1.0" encoding="UTF-8"?>
2 <includes>
3         <include name="GameDialogControllers">
4                 <control type="group">
5                         <centertop>50%</centertop>
6                         <centerleft>50%</centerleft>
7                         <width>1820</width>
8                         <height>870</height>
9                         <include content="DialogBackgroundCommons">
10                                 <param name="width" value="1820" />
11                                 <param name="height" value="870" />
12                                 <param name="header_label" value="$LOCALIZE[35058]" />
13                                 <param name="header_id" value="2" />
14                         </include>
15                         <control type="group">
16                                 <description>Controller list</description>
17                                 <top>90</top>
18                                 <left>30</left>
19                                 <width>410</width>
20                                 <height>580</height>
21                                 <control type="label">
22                                         <description>Controller profiles grouplist heading</description>
23                                         <height>25</height>
24                                         <right>20</right>
25                                         <font>font12</font>
26                                         <label>$LOCALIZE[35050]</label>
27                                         <align>center</align>
28                                         <aligny>center</aligny>
29                                         <textcolor>button_focus</textcolor>
30                                 </control>
31                                 <control type="image">
32                                         <description>Controller profiles grouplist background</description>
33                                         <top>20</top>
34                                         <bottom>-20</bottom>
35                                         <left>-20</left>
36                                         <right>0</right>
37                                         <texture border="40">buttons/dialogbutton-nofo.png</texture>
38                                 </control>
39                                 <control type="grouplist" id="3">
40                                         <description>Controller profiles grouplist</description>
41                                         <top>40</top>
42                                         <right>20</right>
43                                         <onleft>9001</onleft>
44                                         <onright>5</onright>
45                                         <onup>3</onup>
46                                         <ondown>3</ondown>
47                                         <pagecontrol>62</pagecontrol>
48                                 </control>
49                                 <control type="scrollbar" id="62">
50                                         <top>40</top>
51                                         <right>0</right>
52                                         <width>12</width>
53                                         <orientation>vertical</orientation>
54                                 </control>
55                                 <control type="button" id="10">
56                                         <description>Default controller button</description>
57                                         <width>390</width>
58                                         <height>60</height>
59                                         <align>center</align>
60                                         <aligny>center</aligny>
61                                         <font>font25_title</font>
62                                         <texturefocus colordiffuse="button_focus">lists/focus.png</texturefocus>
63                                         <texturenofocus />
64                                 </control>
65                         </control>
66                         <control type="gamecontroller" id="31">
67                                 <top>130</top>
68                                 <left>470</left>
69                                 <width>540</width>
70                                 <height>540</height>
71                         </control>
72                         <control type="group">
73                                 <description>Feature list</description>
74                                 <top>90</top>
75                                 <left>1040</left>
76                                 <width>410</width>
77                                 <height>580</height>
78                                 <control type="label">
79                                         <description>Feature list heading</description>
80                                         <height>25</height>
81                                         <font>font12</font>
82                                         <label>$LOCALIZE[35059]</label>
83                                         <align>center</align>
84                                         <aligny>center</aligny>
85                                         <textcolor>button_focus</textcolor>
86                                 </control>
87                                 <control type="image">
88                                         <top>20</top>
89                                         <bottom>-20</bottom>
90                                         <left>-20</left>
91                                         <right>0</right>
92                                         <texture border="40">buttons/dialogbutton-nofo.png</texture>
93                                 </control>
94                                 <control type="grouplist" id="5">
95                                         <description>Features grouplist</description>
96                                         <top>40</top>
97                                         <right>20</right>
98                                         <onleft>3</onleft>
99                                         <onright>9001</onright>
100                                         <onup>5</onup>
101                                         <ondown>5</ondown>
102                                         <pagecontrol>61</pagecontrol>
103                                 </control>
104                                 <control type="scrollbar" id="61">
105                                         <right>0</right>
106                                         <top>40</top>
107                                         <width>12</width>
108                                         <orientation>vertical</orientation>
109                                 </control>
110                                 <control type="button" id="7">
111                                         <description>Default feature button</description>
112                                         <width>390</width>
113                                         <height>60</height>
114                                         <left>20</left>
115                                         <right>20</right>
116                                         <align>center</align>
117                                         <aligny>center</aligny>
118                                         <font>font27</font>
119                                         <texturefocus colordiffuse="button_focus">lists/focus.png</texturefocus>
120                                         <texturenofocus />
121                                 </control>
122                                 <control type="label" id="8">
123                                         <description>Feature group title</description>
124                                         <width>390</width>
125                                         <height>40</height>
126                                         <align>center</align>
127                                         <aligny>center</aligny>
128                                         <font>font20_title</font>
129                                         <textcolor>grey</textcolor>
130                                         <shadowcolor>black</shadowcolor>
131                                 </control>
132                                 <control type="image" id="9">
133                                         <description>Feature separator image</description>
134                                         <height>3</height>
135                                         <texture colordiffuse="AAAAAAAA" border="3">dialogs/separator-grey.png</texture>
136                                 </control>
137                         </control>
138                         <control type="grouplist" id="9001">
139                                 <top>110</top>
140                                 <right>20</right>
141                                 <width>340</width>
142                                 <onleft>5</onleft>
143                                 <onright>3</onright>
144                                 <itemgap>dialogbuttons_itemgap</itemgap>
145                                 <include content="DefaultDialogButton">
146                                         <param name="width" value="350" />
147                                         <param name="id" value="18" />
148                                         <param name="label" value="$LOCALIZE[186]" />
149                                 </include>
150                                 <include content="DefaultDialogButton">
151                                         <param name="width" value="350" />
152                                         <param name="id" value="19" />
153                                         <param name="label" value="$LOCALIZE[13007]" />
154                                 </include>
155                                 <include content="DefaultDialogButton">
156                                         <param name="width" value="350" />
157                                         <param name="id" value="20" />
158                                         <param name="label" value="$LOCALIZE[21452]" />
159                                 </include>
160                                 <include content="DefaultDialogButton">
161                                         <param name="width" value="350" />
162                                         <param name="id" value="22" />
163                                         <param name="label" value="$LOCALIZE[35021]" />
164                                 </include>
165                                 <include content="DefaultDialogButton">
166                                         <param name="width" value="350" />
167                                         <param name="id" value="17" />
168                                         <param name="label" value="$LOCALIZE[10043]" />
169                                 </include>
170                                 <include content="DefaultDialogButton">
171                                         <param name="width" value="350" />
172                                         <param name="id" value="21" />
173                                         <param name="label" value="$LOCALIZE[35019]" />
174                                 </include>
175                         </control>
176                         <control type="group">
177                                 <description>Bottom controller description</description>
178                                 <bottom>30</bottom>
179                                 <left>30</left>
180                                 <right>30</right>
181                                 <height>140</height>
182                                 <control type="image">
183                                         <description>Controller description background image</description>
184                                         <top>-20</top>
185                                         <bottom>-20</bottom>
186                                         <left>-20</left>
187                                         <right>-20</right>
188                                         <texture border="40">buttons/dialogbutton-nofo.png</texture>
189                                 </control>
190                                 <control type="textbox" id="32">
191                                         <top>5</top>
192                                         <bottom>5</bottom>
193                                         <left>10</left>
194                                         <right>10</right>
195                                         <description>Controller description</description>
196                                         <textcolor>grey</textcolor>
197                                 </control>
198                         </control>
199                 </control>
200         </include>
201         <include name="GameDialogPorts">
202                 <control type="group">
203                         <centertop>50%</centertop>
204                         <centerleft>50%</centerleft>
205                         <width>1820</width>
206                         <height>830</height>
207                         <include content="DialogBackgroundCommons">
208                                 <param name="width" value="1820" />
209                                 <param name="height" value="830" />
210                                 <param name="header_label" value="" />
211                                 <param name="header_id" value="2" />
212                         </include>
213                         <control type="group">
214                                 <description>Content area</description>
215                                 <top>100</top>
216                                 <bottom>30</bottom>
217                                 <left>30</left>
218                                 <right>30</right>
219                                 <control type="group">
220                                         <description>Port list</description>
221                                         <width>1430</width>
222                                         <height>700</height>
223                                         <control type="image">
224                                                 <description>Port list background</description>
225                                                 <top>-20</top>
226                                                 <bottom>-20</bottom>
227                                                 <left>-20</left>
228                                                 <right>-20</right>
229                                                 <texture border="40">buttons/dialogbutton-nofo.png</texture>
230                                         </control>
231                                         <control type="list" id="3">
232                                                 <description>Port item list</description>
233                                                 <onright>9001</onright>
234                                                 <onup>3</onup>
235                                                 <ondown>3</ondown>
236                                                 <pagecontrol>62</pagecontrol>
237                                                 <scrolltime tween="sine">200</scrolltime>
238                                                 <orientation>vertical</orientation>
239                                                 <itemlayout width="1440" height="100">
240                                                         <control type="group">
241                                                                 <control type="label">
242                                                                         <top>20</top>
243                                                                         <left>20</left>
244                                                                         <label>$INFO[ListItem.Label]</label>
245                                                                         <font>font37</font>
246                                                                         <shadowcolor>text_shadow</shadowcolor>
247                                                                         <align>left</align>
248                                                                 </control>
249                                                                 <control type="label">
250                                                                         <top>20</top>
251                                                                         <right>132</right>
252                                                                         <label>$INFO[ListItem.Label2]</label>
253                                                                         <font>font37</font>
254                                                                         <shadowcolor>text_shadow</shadowcolor>
255                                                                         <align>right</align>
256                                                                 </control>
257                                                                 <control type="gamecontroller">
258                                                                         <right>12</right>
259                                                                         <width>100</width>
260                                                                         <texture>$INFO[ListItem.Icon]</texture>
261                                                                         <portaddress>$INFO[ListItem.FilenameAndPath]</portaddress>
262                                                                         <controllerdiffuse>button_focus</controllerdiffuse>
263                                                                 </control>
264                                                         </control>
265                                                 </itemlayout>
266                                                 <focusedlayout width="1440" height="100">
267                                                         <control type="group">
268                                                                 <control type="image">
269                                                                         <top>-20</top>
270                                                                         <bottom>-20</bottom>
271                                                                         <left>-20</left>
272                                                                         <right>-20</right>
273                                                                         <texture border="40" colordiffuse="button_focus">buttons/dialogbutton-fo.png</texture>
274                                                                         <visible>Control.HasFocus(3)</visible>
275                                                                 </control>
276                                                                 <control type="label">
277                                                                         <top>20</top>
278                                                                         <left>20</left>
279                                                                         <label>$INFO[ListItem.Label]</label>
280                                                                         <font>font37</font>
281                                                                         <shadowcolor>text_shadow</shadowcolor>
282                                                                         <align>left</align>
283                                                                 </control>
284                                                                 <control type="label">
285                                                                         <top>20</top>
286                                                                         <right>132</right>
287                                                                         <label>$INFO[ListItem.Label2]</label>
288                                                                         <font>font37</font>
289                                                                         <shadowcolor>text_shadow</shadowcolor>
290                                                                         <align>right</align>
291                                                                 </control>
292                                                                 <control type="gamecontroller">
293                                                                         <right>12</right>
294                                                                         <width>100</width>
295                                                                         <texture>$INFO[ListItem.Icon]</texture>
296                                                                         <portaddress>$INFO[ListItem.FilenameAndPath]</portaddress>
297                                                                         <controllerdiffuse>button_focus</controllerdiffuse>
298                                                                 </control>
299                                                         </control>
300                                                 </focusedlayout>
301                                         </control>
302                                 </control>
303                                 <control type="scrollbar" id="62">
304                                         <left>1430</left>
305                                         <width>12</width>
306                                         <orientation>vertical</orientation>
307                                 </control>
308                                 <control type="grouplist" id="9001">
309                                         <top>-20</top>
310                                         <right>-20</right>
311                                         <width>330</width>
312                                         <onleft>3</onleft>
313                                         <itemgap>dialogbuttons_itemgap</itemgap>
314                                         <include content="DefaultDialogButton">
315                                                 <param name="width" value="330" />
316                                                 <param name="id" value="18" />
317                                                 <param name="label" value="$LOCALIZE[186]" />
318                                         </include>
319                                         <include content="DefaultDialogButton">
320                                                 <param name="width" value="330" />
321                                                 <param name="id" value="19" />
322                                                 <param name="label" value="$LOCALIZE[13007]" />
323                                         </include>
324                                 </control>
325                         </control>
326                 </control>
327         </include>
328         <include name="GameDialogAgents">
329                 <control type="group">
330                         <centertop>50%</centertop>
331                         <centerleft>50%</centerleft>
332                         <width>1820</width>
333                         <height>962</height>
334                         <include content="DialogBackgroundCommons">
335                                 <param name="width" value="1820" />
336                                 <param name="height" value="962" />
337                                 <param name="header_label" value="$LOCALIZE[35172]" />
338                                 <param name="header_id" value="2" />
339                         </include>
340                         <control type="group">
341                                 <description>Content area</description>
342                                 <top>110</top>
343                                 <bottom>40</bottom>
344                                 <left>40</left>
345                                 <right>40</right>
346                                 <control type="group">
347                                         <description>Area of the dialog for ports</description>
348                                         <height>96</height>
349                                         <control type="button" id="3">
350                                                 <description>Ports button</description>
351                                                 <top>-20</top>
352                                                 <bottom>-20</bottom>
353                                                 <left>-20</left>
354                                                 <right>-20</right>
355                                                 <ondown>7</ondown>
356                                                 <label>$LOCALIZE[35110]</label>
357                                                 <font>font37</font>
358                                                 <textoffsetx>36</textoffsetx>
359                                                 <align>left</align>
360                                                 <aligny>center</aligny>
361                                                 <texturefocus border="40" colordiffuse="button_focus">buttons/dialogbutton-fo.png</texturefocus>
362                                                 <texturenofocus border="40">buttons/dialogbutton-nofo.png</texturenofocus>
363                                                 <onclick>ActivateWindow(GamePorts)</onclick>
364                                         </control>
365                                         <control type="gamecontrollerlist" id="4">
366                                                 <description>Active port list. Length should fit 13 listitems (12 controllers and one "controller disconnected" indicator).</description>
367                                                 <right>0</right>
368                                                 <width>1248</width>
369                                                 <orientation>horizontal</orientation>
370                                                 <align>right</align>
371                                                 <enable>false</enable>
372                                                 <itemlayout width="96" height="96">
373                                                         <control type="gamecontroller">
374                                                                 <texture>$INFO[ListItem.Icon]</texture>
375                                                                 <controllerid>$INFO[ListItem.Property(game.controllerid)]</controllerid>
376                                                                 <controlleraddress>$INFO[ListItem.FilenameAndPath]</controlleraddress>
377                                                                 <controllerdiffuse>button_focus</controllerdiffuse>
378                                                         </control>
379                                                 </itemlayout>
380                                                 <focusedlayout width="96" height="96">
381                                                         <control type="gamecontroller">
382                                                                 <texture>$INFO[ListItem.Icon]</texture>
383                                                                 <controllerid>$INFO[ListItem.Property(game.controllerid)]</controllerid>
384                                                                 <controlleraddress>$INFO[ListItem.FilenameAndPath]</controlleraddress>
385                                                                 <controllerdiffuse>button_focus</controllerdiffuse>
386                                                         </control>
387                                                 </focusedlayout>
388                                                 <!--
389                                                         Note to skinners: this control can be populated
390                                                         with static content for testing.
391                                                 <content>
392                                                         <item>
393                                                                 <icon>DefaultAddonNone.png</icon>
394                                                         </item>
395                                                         <item>
396                                                                 <property name="game.controllerid">game.controller.snes</property>
397                                                         </item>
398                                                         <item>
399                                                                 <property name="game.controllerid">game.controller.snes</property>
400                                                         </item>
401                                                         <item>
402                                                                 <property name="game.controllerid">game.controller.snes</property>
403                                                         </item>
404                                                         <item>
405                                                                 <property name="game.controllerid">game.controller.snes</property>
406                                                         </item>
407                                                         <item>
408                                                                 <property name="game.controllerid">game.controller.snes</property>
409                                                         </item>
410                                                         <item>
411                                                                 <property name="game.controllerid">game.controller.snes</property>
412                                                         </item>
413                                                         <item>
414                                                                 <property name="game.controllerid">game.controller.snes</property>
415                                                         </item>
416                                                         <item>
417                                                                 <property name="game.controllerid">game.controller.snes</property>
418                                                         </item>
419                                                         <item>
420                                                                 <property name="game.controllerid">game.controller.snes</property>
421                                                         </item>
422                                                         <item>
423                                                                 <property name="game.controllerid">game.controller.snes</property>
424                                                         </item>
425                                                         <item>
426                                                                 <property name="game.controllerid">game.controller.snes</property>
427                                                         </item>
428                                                         <item>
429                                                                 <property name="game.controllerid">game.controller.snes</property>
430                                                         </item>
431                                                 </content>
432                                                 -->
433                                         </control>
434                                 </control>
435                                 <control type="group">
436                                         <description>Area of the dialog for player controllers</description>
437                                         <top>136</top>
438                                         <height>576</height>
439                                         <control type="image">
440                                                 <description>Controller list background</description>
441                                                 <top>-20</top>
442                                                 <bottom>-20</bottom>
443                                                 <left>-20</left>
444                                                 <right>-20</right>
445                                                 <texture border="40">buttons/dialogbutton-nofo.png</texture>
446                                         </control>
447                                         <control type="list" id="7">
448                                                 <description>Controller list</description>
449                                                 <onup>3</onup>
450                                                 <ondown>10</ondown>
451                                                 <pagecontrol>61</pagecontrol>
452                                                 <scrolltime tween="sine">200</scrolltime>
453                                                 <orientation>vertical</orientation>
454                                                 <itemlayout width="1740" height="96">
455                                                         <include>AgentControllerList</include>
456                                                 </itemlayout>
457                                                 <focusedlayout width="1740" height="96">
458                                                         <control type="image">
459                                                                 <top>-20</top>
460                                                                 <bottom>-20</bottom>
461                                                                 <left>-20</left>
462                                                                 <right>-20</right>
463                                                                 <texture border="40" colordiffuse="button_focus">buttons/dialogbutton-fo.png</texture>
464                                                                 <visible>Control.HasFocus(7)</visible>
465                                                         </control>
466                                                         <include>AgentControllerList</include>
467                                                 </focusedlayout>
468                                                 <!--
469                                                         Note to skinners: this control can be populated
470                                                         with static content for testing.
471                                                 <content>
472                                                         <item>
473                                                                 <label>Player 1</label>
474                                                         </item>
475                                                         <item>
476                                                                 <label>Player 2</label>
477                                                         </item>
478                                                         <item>
479                                                                 <label>Player 3</label>
480                                                         </item>
481                                                         <item>
482                                                                 <label>Player 4</label>
483                                                         </item>
484                                                         <item>
485                                                                 <label>Player 5</label>
486                                                         </item>
487                                                         <item>
488                                                                 <label>Player 6</label>
489                                                         </item>
490                                                         <item>
491                                                                 <label>Player 7</label>
492                                                         </item>
493                                                         <item>
494                                                                 <label>Player 8</label>
495                                                         </item>
496                                                         <item>
497                                                                 <label>Player 9</label>
498                                                         </item>
499                                                         <item>
500                                                                 <label>Player 10</label>
501                                                         </item>
502                                                         <item>
503                                                                 <label>Player 11</label>
504                                                         </item>
505                                                         <item>
506                                                                 <label>Player 12</label>
507                                                         </item>
508                                                 </content>
509                                                 -->
510                                         </control>
511                                 </control>
512                                 <control type="scrollbar" id="61">
513                                         <description>Controller list scroll bar</description>
514                                         <top>136</top>
515                                         <height>576</height>
516                                         <right>-12</right>
517                                         <width>12</width>
518                                         <orientation>vertical</orientation>
519                                 </control>
520                                 <control type="grouplist" id="10">
521                                         <description>Action buttons</description>
522                                         <left>-20</left>
523                                         <right>-20</right>
524                                         <bottom>-20</bottom>
525                                         <height>100</height>
526                                         <onup>7</onup>
527                                         <orientation>horizontal</orientation>
528                                         <itemgap>dialogbuttons_itemgap</itemgap>
529                                         <include content="DefaultDialogButton">
530                                                 <param name="width" value="330" />
531                                                 <param name="id" value="18" />
532                                                 <param name="label" value="$LOCALIZE[186]" />
533                                         </include>
534                                 </control>
535                         </control>
536                 </control>
537         </include>
538         <include name="AgentControllerList">
539                 <control type="label">
540                         <description>Controller name as reported by the driver</description>
541                         <top>20</top>
542                         <left>20</left>
543                         <label>$INFO[ListItem.Label]</label>
544                         <font>font37</font>
545                         <shadowcolor>text_shadow</shadowcolor>
546                         <align>left</align>
547                 </control>
548                 <control type="gamecontrollerlist">
549                         <description>Controller list which indicates the port a player's controller is connected to. Length should fit 13 listitems (12 controller items and one "input disabled" item).</description>
550                         <right>0</right>
551                         <width>1248</width>
552                         <orientation>horizontal</orientation>
553                         <align>right</align>
554                         <enable>false</enable>
555                         <itemlayout width="96" height="96">
556                                 <control type="gamecontroller">
557                                         <texture>$INFO[ListItem.Icon]</texture>
558                                         <controllerid>$INFO[ListItem.Property(game.controllerid)]</controllerid>
559                                         <peripherallocation>$INFO[ListItem.FilenameAndPath]</peripherallocation>
560                                         <controllerdiffuse>button_focus</controllerdiffuse>
561                                 </control>
562                         </itemlayout>
563                         <focusedlayout width="96" height="96">
564                                 <control type="gamecontroller">
565                                         <texture>$INFO[ListItem.Icon]</texture>
566                                         <controllerid>$INFO[ListItem.Property(game.controllerid)]</controllerid>
567                                         <peripherallocation>$INFO[ListItem.FilenameAndPath]</peripherallocation>
568                                         <controllerdiffuse>button_focus</controllerdiffuse>
569                                 </control>
570                         </focusedlayout>
571                         <!--
572                                 Note to skinners: this control can be populated
573                                 with static content for testing.
574                         <content>
575                                 <item>
576                                         <icon>DefaultAddonNone.png</icon>
577                                 </item>
578                                 <item>
579                                         <property name="game.controllerid">game.controller.default</property>
580                                 </item>
581                                 <item>
582                                         <property name="game.controllerid">game.controller.default</property>
583                                 </item>
584                                 <item>
585                                         <property name="game.controllerid">game.controller.default</property>
586                                 </item>
587                                 <item>
588                                         <property name="game.controllerid">game.controller.default</property>
589                                 </item>
590                                 <item>
591                                         <property name="game.controllerid">game.controller.default</property>
592                                 </item>
593                                 <item>
594                                         <property name="game.controllerid">game.controller.default</property>
595                                 </item>
596                                 <item>
597                                         <property name="game.controllerid">game.controller.default</property>
598                                 </item>
599                                 <item>
600                                         <property name="game.controllerid">game.controller.default</property>
601                                 </item>
602                                 <item>
603                                         <property name="game.controllerid">game.controller.default</property>
604                                 </item>
605                                 <item>
606                                         <property name="game.controllerid">game.controller.default</property>
607                                 </item>
608                                 <item>
609                                         <property name="game.controllerid">game.controller.default</property>
610                                 </item>
611                                 <item>
612                                         <property name="game.controllerid">game.controller.default</property>
613                                 </item>
614                         </content>
615                         -->
616                 </control>
617         </include>
618 </includes>