skin.pellucid/xml/DialogGameControllers.xml

187 lines
7.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol>3</defaultcontrol>
<controls>
<!--background-->
<include>globalBackground</include>
<control type="group">
<posx>col-4-begin</posx>
<posy>row-5-begin</posy>
<!--animations-->
<include>modalDialogInOutVertical</include>
<control type="image">
<posx>-12</posx>
<posy>-12</posy>
<width>1324</width>
<height>20-row</height>
<texture border="24">dialogBackground.png</texture>
<border></border>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>18-col</width>
<height>2-row</height>
<texture border="10">masks/menuTitle2.png</texture>
<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>
<shadowcolor></shadowcolor>
</control>
<control type="grouplist" id="3">
<description>Controller types grouplist</description>
<posx>0</posx>
<posy>76</posy>
<width>4-col</width>
<height>18-row</height>
<onright>9001</onright>
</control>
<control type="gamecontroller" id="31">
<posx>5-col</posx>
<posy>3-row</posy>
<width>8-col</width>
<height>8-col</height>
</control>
<!--dialog buttons-->
<control type="panel" id="9001">
<posx>14-col</posx>
<posy>76</posy>
<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>
<posy>-1</posy>
<width>4-col-gutter</width>
<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>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
</control>
<control type="label">
<posx>12</posx>
<posy>-1</posy>
<width>4-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>buttonTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor></shadowcolor>
</control>
</focusedlayout>
<content>
<item id="1">
<description>Ok Button</description>
<label>186</label>
<label2></label2>
<thumb></thumb>
<onclick>SendClick(10820,18)</onclick>
</item>
<item id="2">
<description>Reset Button</description>
<label>409</label>
<label2></label2>
<thumb></thumb>
<onclick>SendClick(10820,19)</onclick>
</item>
<item id="3">
<description>Install more Button</description>
<label>$LOCALIZE[21452]</label>
<label2></label2>
<thumb></thumb>
<onclick>SendClick(10820,20)</onclick>
</item>
</content>
</control>
</control>
<!--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>
<control type="label" id="8">
<description>Default Label</description>
<label></label>
<align>left</align>
<aligny>center</aligny>
<textoffsetx>24</textoffsetx>
<height>2-row</height>
<font>settingsCategoryTitle</font>
<textcolor>highlight</textcolor>
<shadowcolor></shadowcolor>
</control>
</control>
<!--dialog buttons (hidden)-->
<control type="group">
<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>
<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>