1
1
forked from 0ad/0ad

Add small 'X' exit button to corner

This was SVN commit r9949.
This commit is contained in:
WhiteTreePaladin 2011-08-01 03:30:13 +00:00
parent bd3c395d00
commit 7e67e816c9

View File

@ -41,6 +41,26 @@
<!--
==========================================
- CORNER 'X' EXIT BUTTON
==========================================
-->
<object name="cornerExitButton"
type="button"
style="wheatExit"
size="100%-16 0 100% 16"
tooltip_style="pgToolTip"
tooltip="Exit Game"
>
<action on="Press"><![CDATA[
var btCaptions = ["Yes", "No"];
var btCode = [exit, null];
messageBox (400, 200, "Are you sure you want to quit [icon=iconProduct] A.D.?", "Confirmation", 0, btCaptions, btCode);
]]></action>
</object>
<!--
==========================================
- MAIN PANEL MENU - PARCHMENT BUTTONS