Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/reference/viewer/viewer.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/common/Buttons/"/> | |||||
<script directory="gui/reference/viewer/"/> | <script directory="gui/reference/viewer/"/> | ||||
<!-- Add a translucent black background to fade out whatever's behind this --> | <!-- Add a translucent black background to fade out whatever's behind this --> | ||||
<object type="image" sprite="BackgroundTranslucent"/> | <object type="image" sprite="BackgroundTranslucent"/> | ||||
<object type="image" sprite="ModernDialog" size="50%-250 50%-300 50%+250 50%+300"> | <object type="image" sprite="ModernDialog" size="50%-250 50%-300 50%+250 50%+300"> | ||||
<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">Information</translatableAttribute> | <translatableAttribute id="caption">Information</translatableAttribute> | ||||
</object> | </object> | ||||
<object name="entityName" type="text" size="8 16 100%-8 48" text_align="center" text_valign="top" textcolor="white"/> | <object name="entityName" type="text" size="8 16 100%-8 48" text_align="center" text_valign="top" textcolor="white"/> | ||||
<object name="entityIcon" type="image" | <object name="entityIcon" type="image" | ||||
size="16 48 128+16 128+48" | size="16 48 128+16 128+48" | ||||
sprite="stretched:pregame/shell/logo/wfg_logo_white.png" | sprite="stretched:pregame/shell/logo/wfg_logo_white.png" | ||||
> | > | ||||
<object type="image" style="IconFrame"/> | <object type="image" style="IconFrame"/> | ||||
<object type="image" style="RankGlyph" name="entityRankGlyph"/> | <object type="image" style="RankGlyph" name="entityRankGlyph"/> | ||||
</object> | </object> | ||||
<object name="entityStats" type="text" style="ModernText" size="128+20 44 100%-8 50%" scrollbar="false"/> | <object name="entityStats" type="text" style="ModernText" size="128+20 44 100%-8 50%" scrollbar="false"/> | ||||
<object name="entityInfo" type="text" style="ModernText" size="16 128+48+8 100%-16 100%-48"/> | <object name="entityInfo" type="text" style="ModernText" size="16 128+48+8 100%-16 100%-48"/> | ||||
<!-- Close page --> | <!-- Close button --> | ||||
<object | <include file="gui/reference/common/Buttons/CloseButton.xml"/> | ||||
type="button" | |||||
style="StoneButton" | |||||
size="100%-164 100%-44 100%-16 100%-16" | |||||
hotkey="cancel" | |||||
> | |||||
<translatableAttribute id="caption">Close</translatableAttribute> | |||||
<action on="Press">Engine.PopGuiPage();</action> | |||||
</object> | |||||
</object> | </object> | ||||
</objects> | </objects> |
Wildfire Games · Phabricator