forked from 0ad/0ad
Gallaecio
e05c8263c5
It includes a marvelous language selection menu developed by Yves. It also includes the introduction of a sprintf implementation for JavaScript, as well as translation helper functions that use JavaScript-side translation caching. This patch includes code by Yves, sanderd17, leper and Gallaecio. Ref #67 This was SVN commit r14954.
42 lines
1.4 KiB
XML
42 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<objects>
|
|
|
|
<script file="gui/common/functions_global_object.js" />
|
|
<script file="gui/common/functions_utility_loadsave.js" />
|
|
<script file="gui/savedgames/load.js" />
|
|
|
|
<!-- Add a translucent black background to fade out the menu page -->
|
|
<object type="image" z="0" sprite="BackgroundTranslucent"/>
|
|
|
|
<object type="image" style="ModernDialog" size="50%-300 50%-200 50%+300 50%+200">
|
|
|
|
<object type="text" style="TitleText" size="50%-128 0%-16 50%+128 16">
|
|
<translatableAttribute id="caption">Load Game</translatableAttribute>
|
|
</object>
|
|
|
|
<object name="gameSelection"
|
|
style="ModernList"
|
|
type="list"
|
|
size="24 24 100%-24 100%-100">
|
|
</object>
|
|
|
|
<object name="loadGameButton" type="button" size="0%+25 100%-60 33%+10 100%-32" style="StoneButton">
|
|
<translatableAttribute id="caption">Load</translatableAttribute>
|
|
<action on="Press">loadGame();</action>
|
|
</object>
|
|
|
|
<object name="deleteGameButton" type="button" size="33%+20 100%-60 66%-15 100%-32" style="StoneButton">
|
|
<translatableAttribute id="caption">Delete</translatableAttribute>
|
|
<action on="Press">deleteGame();</action>
|
|
</object>
|
|
|
|
<object type="button" style="StoneButton" size="66%-5 100%-60 100%-25 100%-32">
|
|
<translatableAttribute id="caption">Cancel</translatableAttribute>
|
|
<action on="Press">Engine.PopGuiPage();</action>
|
|
</object>
|
|
|
|
</object>
|
|
|
|
</objects>
|