source: ps/trunk/binaries/data/mods/mod/gui/timedconfirmation/timedconfirmation.xml@ 25966

Last change on this file since 25966 was 25966, checked in by Silier, 3 years ago

There have been quite a bit of number of questions how to change scale of the gui, because this option is hidden from the user.

Use dropdown with values. Implement confirmation box with countdown to revert scale change because buttons can get unable to click.

Differential revision: D3037
Comments by: @vladislavbelov, @Stan, @wraitii, @pieq, @sera
Tested by: @Langbart

File size: 1.2 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2
3<objects>
4
5 <script directory="gui/common/"/>
6 <script directory="gui/timedconfirmation/"/>
7
8 <!-- Fade out the background because it's non-interactable -->
9 <object sprite="ModernFade" type="image"/>
10 <object name="tmcCancelHotkey" hotkey="cancel" />
11 <object name="tmcMain"
12 style="ModernDialog"
13 type="image"
14 >
15 <action on="Tick">
16 onTick();
17 </action>
18 <object name="tmcTitleBar"
19 style="ModernLabelText"
20 type="text"
21 size="50%-128 -18 50%+128 14"
22 />
23 <object name="tmcTimerDisplay"
24 type="text"
25 style="ModernLabelText"
26 size="18 28 100%-18 38"
27 />
28 <object name="tmcText"
29 type="text"
30 style="ModernLabelText"
31 size="18 40 100%-18 100%-64"
32 />
33 <object name="tmcTimer"
34 type="text"
35 style="ModernLabelText"
36 size="18 18 100%-18 100%-64"
37 hidden="true"
38 />
39 <!-- The size of the following buttons is set dynamically in timedconfirmation.js -->
40 <object name="tmcButton1"
41 style="ModernButtonRed"
42 type="button"
43 hidden="true"
44 />
45 <object name="tmcButton2"
46 style="ModernButtonRed"
47 type="button"
48 hidden="true"
49 />
50 <object name="tmcButton3"
51 style="ModernButtonRed"
52 type="button"
53 hidden="true"
54 />
55 </object>
56</objects>
Note: See TracBrowser for help on using the repository browser.