forked from 0ad/0ad
Add small 'X' exit button to corner
This was SVN commit r9949.
This commit is contained in:
parent
bd3c395d00
commit
7e67e816c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user