This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 9949 for ps


Ignore:
Timestamp:
08/01/11 05:30:13 (13 years ago)
Author:
brian
Message:

Add small 'X' exit button to corner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/binaries/data/mods/public/gui/pregame/mainmenu.xml

    r9947 r9949  
    4040        </object>       
    4141
     42
     43
     44        <!--
     45        ==========================================
     46        - CORNER 'X' EXIT BUTTON
     47        ==========================================
     48        -->
     49                <object name="cornerExitButton"
     50                        type="button"
     51                        style="wheatExit"
     52                        size="100%-16 0 100% 16"
     53                        tooltip_style="pgToolTip"
     54                        tooltip="Exit Game"
     55                >
     56                        <action on="Press"><![CDATA[
     57                                var btCaptions = ["Yes", "No"];
     58                                var btCode = [exit, null];
     59                                messageBox (400, 200, "Are you sure you want to quit [icon=iconProduct] A.D.?", "Confirmation", 0, btCaptions, btCode);
     60                        ]]></action>
     61        </object>
    4262
    4363
Note: See TracChangeset for help on using the changeset viewer.