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"> | |||||
<action on="Press"> | |||||
close(); | |||||
</action> | |||||
</object> | |||||
<object hotkey="civinfo"> | |||||
<action on="Press"> | |||||
switchToCivInfoPage(); | |||||
</action> | |||||
</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"> | ||||
<translatableAttribute id="caption">Structure Tree</translatableAttribute> | <translatableAttribute id="caption">Structure Tree</translatableAttribute> | ||||
</object> | </object> | ||||
▲ Show 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | <object size="100%-124 54+64 100%-16 100%-54" name="display_trainers"> | ||||
<object type="image" style="ProdBox" name="trainer[t]_prod[p]"/> | <object type="image" style="ProdBox" name="trainer[t]_prod[p]"/> | ||||
</repeat> | </repeat> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
</repeat> | </repeat> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
<!-- Close dialog --> | <!-- History page --> | ||||
s0600204: Get the comments the correct way round, please. | |||||
Not Done Inline ActionsWhat's wrong here? ffffffff: What's wrong here? | |||||
Not Done Inline ActionsComment says "History Page", but the following xml defines the close button. Below that is a comment "Close dialog" which is followed by the xml definition of the button that opens the civinfo page. s0600204: Comment says "History Page", but the following xml defines the close button.
Below that is a… | |||||
<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" | ||||
hotkey="cancel" | hotkey="cancel" | ||||
> | > | ||||
<translatableAttribute id="caption">Close</translatableAttribute> | <translatableAttribute id="caption">Close</translatableAttribute> | ||||
<action on="Press">closePage();</action> | <action on="Press"> | ||||
close(); | |||||
Not Done Inline Actions/n s0600204: /n | |||||
</action> | |||||
</object> | |||||
<!-- Close dialog --> | |||||
<object | |||||
type="button" | |||||
style="StoneButton" | |||||
size="100%-309 100%-44 100%-169 100%-16" | |||||
> | |||||
<translatableAttribute id="caption">History</translatableAttribute> | |||||
<action on="Press">switchToCivInfoPage();</action> | |||||
</object> | </object> | ||||
</object> | </object> | ||||
</objects> | </objects> |
Wildfire Games · Phabricator
Get the comments the correct way round, please.