Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/reference/structree/structree.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<objects> | <objects> | ||||
<script directory="gui/common/"/> | <script directory="gui/common/"/> | ||||
<script directory="gui/reference/common/"/> | <script directory="gui/reference/common/"/> | ||||
<script directory="gui/reference/structree/"/> | <script directory="gui/reference/structree/"/> | ||||
<object hotkey="structree"> | <object hotkey="structree"> | ||||
<action on="Press"> | <action on="Press"> | ||||
close(); | closePage(); | ||||
</action> | </action> | ||||
</object> | </object> | ||||
<!-- Add a translucent black background to fade out the menu page --> | <!-- Add a translucent black background to fade out the menu page --> | ||||
<object type="image" z="0" sprite="BackgroundTranslucent"/> | <object type="image" z="0" sprite="BackgroundTranslucent"/> | ||||
<object type="image" style="ModernDialog" size="16 24 100%-16 100%-24"> | <object type="image" style="ModernDialog" size="16 24 100%-16 100%-24"> | ||||
<object style="TitleText" type="text" size="50%-128 -18 50%+128 14"> | <object style="TitleText" type="text" size="50%-128 -18 50%+128 14"> | ||||
▲ Show 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | <object type="image" style="ModernDialog" size="16 24 100%-16 100%-24"> | ||||
<object | <object | ||||
type="button" | type="button" | ||||
style="StoneButton" | style="StoneButton" | ||||
size="100%-164 100%-44 100%-16 100%-16" | size="100%-164 100%-44 100%-16 100%-16" | ||||
name="close" | name="close" | ||||
hotkey="cancel" | hotkey="cancel" | ||||
> | > | ||||
<translatableAttribute id="caption">Close</translatableAttribute> | <translatableAttribute id="caption">Close</translatableAttribute> | ||||
<action on="Press"> | <action on="Press">closePage();</action> | ||||
close(); | |||||
</action> | |||||
</object> | </object> | ||||
</object> | </object> | ||||
</objects> | </objects> |
Wildfire Games · Phabricator