skin.tributary/720p/DialogContextMenu.xml

57 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol>1000</defaultcontrol>
<include>dialogeffect</include>
<coordinates>
<left>0</left>
<top>0</top>
</coordinates>
<controls>
<control type="image" id="999">
<description>background image</description>
<left>0</left>
<top>0</top>
<width>340</width>
<height>720</height>
<texture border="20">DialogBack.png</texture>
</control>
<control type="grouplist" id="996">
<description>grouplist for context buttons</description>
<left>20</left>
<top>30</top>
<width>300</width>
<height max="670">auto</height>
<itemgap>2</itemgap>
</control>
<control type="button">
<description>Close Window button</description>
<left>260</left>
<top>5</top>
<width>64</width>
<height>32</height>
<label/>
<font/>
<onclick>PreviousMenu</onclick>
<texturefocus>DialogCloseButton-focus.png</texturefocus>
<texturenofocus>DialogCloseButton.png</texturenofocus>
<onleft>2</onleft>
<onright>2</onright>
<onup>2</onup>
<ondown>2</ondown>
<visible>system.getbool(input.enablemouse)</visible>
</control>
<control type="button" id="1000">
<description>button template</description>
<left/>
<top/>
<width>300</width>
<height>38</height>
<font>fontContextMenu</font>
<align>center</align>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus border="5">button-focus.png</texturefocus>
</control>
</controls>
</window>