1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/gui/civinfo/civinfo.xml

125 lines
3.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<objects>
<script file="gui/common/functions_civinfo.js"/>
<script file="gui/common/functions_global_object.js"/>
<script file="gui/common/functions_utility.js"/>
<script file="gui/civinfo/civinfo.js"/>
<!-- Add a translucent black background to fade out the menu page -->
<object type="image" z="0" sprite="bkTranslucent"/>
<object type="image" style="StoneDialog" size="50%-466 50%-316 50%+466 50%+316">
<object style="TitleText" type="text" size="50%-128 -16 50%+128 16">Civilizations</object>
<!-- Civ selection -->
<object size="25 10 100% 30">
<object
name="civSelectionHeading"
type="text"
font="serif-bold-20"
textcolor="white"
text_align="left"
size="50%-320 10 50%-96 48">
Civilization Selection
</object>
<object name="civSelection" type="dropdown" style="StoneDropDown" size="50%-96 10 50%+96 40">
<action on="SelectionChange">selectCiv(this.list_data[this.selected]);</action>
</object>
</object>
<!-- Civ data display -->
<object size="25 50 100%-25 65%-5">
<object type="image" sprite="TranslucentPanelThinBorder" size="0 0 100% 40">
<object
name="civGameplayHeading"
type="text"
font="serif-bold-16"
textcolor="white"
text_align="left"
text_valign="center"
size="10 0 100% 100%"
/>
</object>
<object type="image" sprite="BackgroundTranslucent" size="0 40 33%-5 100%">
<object
name="civBonuses"
type="text"
font="serif-14"
textcolor="white"
text_align="left"
size="10 0 100%-10 100%-10"
/>
</object>
<object type="image" sprite="BackgroundTranslucent" size="33%+5 40 75%-5 100%">
<object
name="civTechs"
type="text"
font="serif-14"
textcolor="white"
text_align="left"
size="10 0 100%-10 100%-10"
/>
</object>
<object type="image" sprite="BackgroundTranslucent" size="75%+5 40 100% 100%">
<object
name="civHeroes"
type="text"
font="serif-14"
textcolor="white"
text_align="left"
size="10 0 100%-10 100%-10"
/>
</object>
</object>
<!-- Civ history display -->
<object size="25 65% 100%-25 100%-56">
<object type="image" sprite="TranslucentPanelThinBorder" size="0 0 100% 35">
<object
name="civHistoryHeading"
type="text"
font="serif-bold-16"
textcolor="white"
text_align="left"
text_valign="center"
size="10 0 100% 100%"
/>
</object>
<object type="image" sprite="BackgroundTranslucent" size="0 35 100% 100%">
<object
name="civHistoryText"
type="text"
font="serif-14"
textcolor="white"
text_align="left"
size="10 0 100% 100%"
/>
</object>
</object>
<object
type="button"
style="StoneButton"
size="100%-164 100%-52 100%-24 100%-24"
>Close
<action on="Press">
<![CDATA[
Engine.PopGuiPage();
]]>
</action>
</object>
</object>
</objects>