mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-19 14:53:56 -07:00
Introduced in b4fbbed379
Use Date.now() to calculate passed time.
Rewrite to class.
Also actually pass timeout from json.
Differential revision: D4318
Comments by: @vladislavbelov, @Stan
This was SVN commit r26306.
47 lines
1.1 KiB
XML
47 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<objects>
|
|
|
|
<script directory="gui/common/"/>
|
|
<script directory="gui/timedconfirmation/"/>
|
|
|
|
<!-- Fade out the background because it's non-interactable -->
|
|
<object sprite="ModernFade" type="image"/>
|
|
<object name="tmcCancelHotkey" hotkey="cancel" />
|
|
<object name="tmcMain"
|
|
style="ModernDialog"
|
|
type="image"
|
|
>
|
|
<object name="tmcTitleBar"
|
|
style="ModernLabelText"
|
|
type="text"
|
|
size="50%-128 -18 50%+128 14"
|
|
/>
|
|
<object name="tmcTimerDisplay"
|
|
type="text"
|
|
style="ModernLabelText"
|
|
size="18 28 100%-18 38"
|
|
/>
|
|
<object name="tmcText"
|
|
type="text"
|
|
style="ModernLabelText"
|
|
size="18 40 100%-18 100%-64"
|
|
/>
|
|
<!-- The size of the following buttons is set dynamically in timedconfirmation.js -->
|
|
<object name="tmcButton1"
|
|
style="ModernButtonRed"
|
|
type="button"
|
|
hidden="true"
|
|
/>
|
|
<object name="tmcButton2"
|
|
style="ModernButtonRed"
|
|
type="button"
|
|
hidden="true"
|
|
/>
|
|
<object name="tmcButton3"
|
|
style="ModernButtonRed"
|
|
type="button"
|
|
hidden="true"
|
|
/>
|
|
</object>
|
|
</objects>
|