skin.pellucid/xml/DialogGameControllers.xml

187 lines
7.5 KiB
XML
Raw Normal View History

2016-11-21 21:36:06 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol>3</defaultcontrol>
<controls>
2016-11-22 21:08:22 +01:00
<!--background-->
<include>globalBackground</include>
<control type="group">
<posx>col-4-begin</posx>
<posy>row-5-begin</posy>
<!--animations-->
<include>modalDialogInOutVertical</include>
2021-03-11 21:41:07 +01:00
<control type="image">
<posx>-12</posx>
<posy>-12</posy>
<width>1324</width>
2021-03-11 21:41:07 +01:00
<height>20-row</height>
<texture border="24">dialogBackground.png</texture>
<border></border>
2021-03-11 21:41:07 +01:00
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
2016-11-22 21:08:22 +01:00
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>18-col</width>
<height>2-row</height>
<texture border="10">masks/menuTitle2.png</texture>
2016-11-22 21:08:22 +01:00
<colordiffuse>highlight</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="label">
<posx>24</posx>
<posy>0</posy>
<width>16-col</width>
<height>2-row</height>
<aligny>center</aligny>
<font>dialogTitle</font>
<label>35050</label>
<textcolor>textActive</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2016-11-22 21:08:22 +01:00
</control>
<control type="grouplist" id="3">
<description>Controller types grouplist</description>
<posx>0</posx>
<posy>76</posy>
2016-11-22 21:08:22 +01:00
<width>4-col</width>
<height>18-row</height>
<onright>9001</onright>
</control>
<control type="gamecontroller" id="31">
<posx>5-col</posx>
2018-01-24 17:55:58 +01:00
<posy>3-row</posy>
2016-11-22 21:08:22 +01:00
<width>8-col</width>
2018-01-24 17:55:58 +01:00
<height>8-col</height>
2016-11-22 21:08:22 +01:00
</control>
<!--dialog buttons-->
<control type="panel" id="9001">
<posx>14-col</posx>
<posy>76</posy>
2016-11-22 21:08:22 +01:00
<width>4-col</width>
<height>10-row</height>
<orientation>vertical</orientation>
<onleft>3</onleft>
<itemlayout width="6-col" height="2-row">
<control type="label">
<posx>12</posx>
2016-11-22 21:08:22 +01:00
<posy>-1</posy>
<width>4-col-gutter</width>
2016-11-22 21:08:22 +01:00
<height>2-row</height>
<aligny>center</aligny>
<font>buttonTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
</control>
</itemlayout>
<focusedlayout width="6-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>4-col</width>
2016-11-22 21:08:22 +01:00
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
</control>
<control type="label">
<posx>12</posx>
2016-11-22 21:08:22 +01:00
<posy>-1</posy>
<width>4-col-gutter</width>
2016-11-22 21:08:22 +01:00
<height>2-row</height>
<aligny>center</aligny>
<font>buttonTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label]</label>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2016-11-22 21:08:22 +01:00
</control>
</focusedlayout>
<content>
<item id="1">
<description>Ok Button</description>
<label>186</label>
<label2></label2>
2017-12-04 21:13:06 +01:00
<thumb></thumb>
2016-11-22 21:08:22 +01:00
<onclick>SendClick(10820,18)</onclick>
</item>
<item id="2">
<description>Reset Button</description>
<label>409</label>
<label2></label2>
2017-12-04 21:13:06 +01:00
<thumb></thumb>
2016-11-22 21:08:22 +01:00
<onclick>SendClick(10820,19)</onclick>
</item>
<item id="3">
<description>Install more Button</description>
<label>$LOCALIZE[21452]</label>
<label2></label2>
2017-12-04 21:13:06 +01:00
<thumb></thumb>
2016-11-22 21:08:22 +01:00
<onclick>SendClick(10820,20)</onclick>
</item>
</content>
</control>
2016-11-21 21:36:06 +01:00
</control>
2016-11-22 21:08:22 +01:00
<!--button setup-->
<control type="group">
<animation type="conditional" condition="controlgroup(5).hasfocus()">
<effect type="fade" start="0" end="100" time="300"/>
</animation>
<animation type="conditional" condition="!controlgroup(5).hasfocus()">
<effect type="fade" start="100" end="0" time="300"/>
</animation>
<include>modalDialog</include>
<control type="grouplist" id="5">
<description>buttons grouplist</description>
<posx>col-10-begin</posx>
<posy>row-4-begin</posy>
<width>8-col</width>
<height>21-row</height>
<onleft>3</onleft>
<onright>3</onright>
<onback>3</onback>
</control>
2016-11-25 20:17:12 +01:00
<control type="label" id="8">
<description>Default Label</description>
2017-12-04 21:13:06 +01:00
<label></label>
2016-11-25 20:17:12 +01:00
<align>left</align>
<aligny>center</aligny>
<textoffsetx>24</textoffsetx>
<height>2-row</height>
<font>settingsCategoryTitle</font>
<textcolor>highlight</textcolor>
2017-12-04 21:13:06 +01:00
<shadowcolor></shadowcolor>
2016-11-25 20:17:12 +01:00
</control>
2016-11-21 21:36:06 +01:00
</control>
2016-11-22 21:08:22 +01:00
<!--dialog buttons (hidden)-->
2016-11-21 21:36:06 +01:00
<control type="group">
2016-11-22 21:08:22 +01:00
<visible>false</visible>
<control type="button" id="10">
<description>Default controller types button</description>
</control>
<control type="button" id="7">
<description>Default feature types button</description>
<texturefocus colordiffuse="highlight">colors/white.png</texturefocus>
<focusedcolor>textActive</focusedcolor>
<width>6-col</width>
</control>
2016-11-21 21:36:06 +01:00
<control type="button" id="18">
<description>Ok Button</description>
<label>186</label>
</control>
<control type="button" id="19">
<description>Reset Button</description>
<label>10035</label>
</control>
<control type="button" id="20">
<description>Link to install more controllers</description>
</control>
<control type="button" id="17">
<description>Help button</description>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>DialogGameControllers.xml</label>
</control>
</controls>
</window>