Files
0ad/binaries/data/mods/public/gui/msgbox/msgbox.xml
T
historic_bruno a964e83c79 Fixes button order consistency in a few places: resign confirmation, manual, splashscreen, fixes #2837. NOTE: the convention is Cancel/Back button on the left, other action buttons are to the right. Please report any you find that don't match that!
Adds hotkey.cancel mapped to the Escape key, which is now used for
closing/canceling in-game dialogs, fixes #2636, #3200. Please report any
dialogs where Esc doesn't work!

This was SVN commit r16736.
2015-06-08 03:07:45 +00:00

42 lines
954 B
XML

<?xml version="1.0" encoding="utf-8"?>
<objects>
<script file="gui/msgbox/msgbox.js"/>
<script file="gui/common/functions_global_object.js"/>
<!-- Fade out the background because it's non-interactable -->
<object sprite="ModernFade" type="image" z="0"/>
<object name="mbCancelHotkey" hotkey="cancel" />
<object name="mbMain"
style="ModernDialog"
type="image"
>
<object name="mbTitleBar"
style="ModernLabelText"
type="text"
size="50%-128 -18 50%+128 14"
/>
<object name="mbText"
type="text"
style="ModernLabelText"
size="18 18 100%-18 100%-64"
/>
<!-- The size of the following buttons is set dynamically in msgbox.js -->
<object name="mbButton1"
style="ModernButtonRed"
type="button"
hidden="true"
/>
<object name="mbButton2"
style="ModernButtonRed"
type="button"
hidden="true"
/>
<object name="mbButton3"
style="ModernButtonRed"
type="button"
hidden="true"
/>
</object>
</objects>