forked from mirrors/0ad
a4bc787ddc
For those lucky enough to have screens with a high enough resolution to display a chosen civilisation's tree in its entirety, the Structure Tree page now determines the minimum space necessary to do so, and sizes itself accordingly. (e.g. The page no longer scales to fill the entire screen.) For those on lower resolution screens, the page now takes up slightly less space vertically. This was SVN commit r23813.
65 lines
1.8 KiB
XML
65 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<objects>
|
|
|
|
<script directory="gui/common/"/>
|
|
|
|
<script directory="gui/reference/common/"/>
|
|
<script directory="gui/reference/common/Buttons/"/>
|
|
<script directory="gui/reference/common/Dropdowns/"/>
|
|
|
|
<script directory="gui/reference/structree/"/>
|
|
<script directory="gui/reference/structree/Boxes/"/>
|
|
<script directory="gui/reference/structree/Sections/Trainer/"/>
|
|
<script directory="gui/reference/structree/Sections/Tree/"/>
|
|
|
|
<!-- Add a translucent black background to fade out the menu page -->
|
|
<object name="background" type="image" sprite="BackgroundTranslucent"/>
|
|
|
|
<object name="structreePage" type="image" style="ModernDialog" size="50%-480 50%-360 50%+480 50%+360">
|
|
<object style="TitleText" type="text" size="50%-128 -18 50%+128 14">
|
|
<translatableAttribute id="caption">Structure Tree</translatableAttribute>
|
|
</object>
|
|
|
|
<!-- Civ selection -->
|
|
<include file="gui/reference/common/Dropdowns/CivSelectDropdown.xml"/>
|
|
|
|
<object
|
|
name="civEmblem"
|
|
type="image"
|
|
size="6 6 96+6 96+6"
|
|
sprite="stretched:pregame/shell/logo/wfg_logo_white.png"
|
|
/>
|
|
|
|
<object
|
|
name="civName"
|
|
type="text"
|
|
font="sans-bold-20"
|
|
textcolor="white"
|
|
text_align="left"
|
|
text_valign="top"
|
|
size="104 32 100%-8 96"
|
|
/>
|
|
|
|
<object
|
|
name="civHistory"
|
|
type="text"
|
|
font="sans-12"
|
|
textcolor="white"
|
|
text_align="left"
|
|
text_valign="top"
|
|
size="104 52 100%-8 100%"
|
|
/>
|
|
|
|
<!-- Structure Tree display section -->
|
|
<include file="gui/reference/structree/Sections/Tree/TreeSection.xml"/>
|
|
|
|
<!-- Trainer Units display section -->
|
|
<include file="gui/reference/structree/Sections/Trainer/TrainerSection.xml"/>
|
|
|
|
<!-- Buttons -->
|
|
<include file="gui/reference/common/Buttons/CivInfoButton.xml"/>
|
|
<include file="gui/reference/common/Buttons/CloseButton.xml"/>
|
|
|
|
</object>
|
|
</objects>
|