Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/reference/viewer/viewer.xml
- This file was added.
<?xml version="1.0" encoding="utf-8"?> | |||||
<objects> | |||||
<script file="gui/common/functions_civinfo.js"/> | |||||
<script file="gui/common/functions_utility.js"/> | |||||
<script file="gui/common/tooltips.js"/> | |||||
<script directory="gui/reference/common/"/> | |||||
elexis: Would recommend to include the entire directory (for simplicity of directory structure and mods… | |||||
Not Done Inline Actionsthx elexis: thx | |||||
<script file="gui/reference/viewer/viewer.js"/> | |||||
<!-- Add a translucent black background to fade out whatever's behind this --> | |||||
<object type="image" z="0" sprite="BackgroundTranslucent"/> | |||||
<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"> | |||||
<translatableAttribute id="caption">Information</translatableAttribute> | |||||
</object> | |||||
<object name="entityName" type="text" size="8 16 100%-8 48" text_align="center" text_valign="top" textcolor="white"/> | |||||
<object name="entityIcon" type="image" | |||||
size="16 48 128+16 128+48" | |||||
sprite="stretched:pregame/shell/logo/wfg_logo_white.png" | |||||
> | |||||
<object type="image" style="IconFrame"/> | |||||
<object type="image" style="RankGlyph" name="entityRankGlyph"/> | |||||
</object> | |||||
<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"/> | |||||
<!-- Close page --> | |||||
<object | |||||
type="button" | |||||
style="StoneButton" | |||||
size="100%-164 100%-44 100%-16 100%-16" | |||||
hotkey="cancel" | |||||
> | |||||
<translatableAttribute id="caption">Close</translatableAttribute> | |||||
<action on="Press">closePage();</action> | |||||
Done Inline ActionsCDATA part not needed as long as we keep it that short (which we should, JS code should be in JS files) elexis: CDATA part not needed as long as we keep it that short (which we should, JS code should be in… | |||||
</object> | |||||
</object> | |||||
</objects> |
Wildfire Games · Phabricator
Would recommend to include the entire directory (for simplicity of directory structure and mods allowing to add new files)