1 <?xml version="1.0" encoding="utf-8"?>
5 <script file="gui/common/color.js"/>
6 <script file="gui/common/functions_global_object.js" />
7 <script file="gui/common/functions_utility_loadsave.js" />
8 <script file="gui/savedgames/save.js" />
10 <!-- Add a translucent black background to fade out the page -->
11 <object type="image" z="0" sprite="ModernFade"/>
13 <object type="image" style="ModernDialog" size="50%-300 50%-200 50%+300 50%+200">
14 <object type="image" z="0" sprite="ModernFade"/>
15 <object type="text" style="TitleText" size="50%-128 -18 50%+128 14">
16 <translatableAttribute id="caption">Save Game</translatableAttribute>
19 <object name="gameSelection"
23 size="24 24 100%-24 100%-124">
24 <action on="selectionchange">
29 <object size="24 100%-124 100%-24 100%-100" name="descLabel" type="text" style="ModernLeftLabelText">
30 <translatableAttribute id="caption">Description:</translatableAttribute>
33 <object name="saveGameDesc" size="24 100%-96 100%-24 100%-72" type="input" style="ModernInput">
34 <action on="Press">saveGame();</action>
37 <object name="saveButton" type="button" size="0%+25 100%-60 33%+10 100%-32" style="StoneButton" hotkey="cancel">
38 <translatableAttribute id="caption">Cancel</translatableAttribute>
39 <action on="Press">closeSave(true);</action>
42 <object name="deleteGameButton" type="button" size="33%+20 100%-60 66%-15 100%-32" style="StoneButton" hotkey="session.savedgames.delete">
43 <translatableAttribute id="caption">Delete</translatableAttribute>
44 <action on="Press">deleteGame();</action>
47 <object type="button" style="StoneButton" size="66%-5 100%-60 100%-25 100%-32">
48 <translatableAttribute id="caption">Save</translatableAttribute>
49 <action on="Press">saveGame();</action>