Differential D2218 Diff 9753 binaries/data/mods/public/gui/session/selection_panels_middle/single_details_area.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/selection_panels_middle/single_details_area.xml
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | <object size="-8 -8 88 88" type="button" name="iconBorder" sprite="iconBorder" tooltip_style="sessionToolTip"> | ||||
<object type="image" sprite="experienceBackground" ghost="true"/> | <object type="image" sprite="experienceBackground" ghost="true"/> | ||||
<object type="image" sprite="experienceForeground" ghost="true" name="experienceBar"/> | <object type="image" sprite="experienceForeground" ghost="true" name="experienceBar"/> | ||||
<object type="image" sprite="statsBarShaderVertical" ghost="true"/> | <object type="image" sprite="statsBarShaderVertical" ghost="true"/> | ||||
</object> | </object> | ||||
<object z="20" size="4 4 20 20" name="rankIcon" type="image" tooltip_style="sessionToolTip"> | <object z="20" size="4 4 20 20" name="rankIcon" type="image" tooltip_style="sessionToolTip"> | ||||
<translatableAttribute id="tooltip">Rank</translatableAttribute> | <translatableAttribute id="tooltip">Rank</translatableAttribute> | ||||
</object> | </object> | ||||
<!-- Status Effecst icons --> | |||||
<object name="statusEffectsIcons" size="100%-20 4 100%-4 100%"> | |||||
<repeat count="5"> | |||||
<object type="image" size="0 0 16 16" z="200" tooltip_style="sessionToolTip"/> | |||||
elexis: hidden="true" can be avoided since JS always sets it
The size property probably too, you can… | |||||
</repeat> | |||||
</object> | </object> | ||||
</object> | </object> | ||||
</object> | |||||
<!-- Names (this must come before the attack and armor icon to avoid clipping issues) --> | <!-- Names (this must come before the attack and armor icon to avoid clipping issues) --> | ||||
<object size="2 96 100%-2 100%-36" name="statsArea" type="image" sprite="edgedPanelShader"> | <object size="2 96 100%-2 100%-36" name="statsArea" type="image" sprite="edgedPanelShader"> | ||||
<!-- These images are used to clip off the top and bottom of the civ icon --> | <!-- These images are used to clip off the top and bottom of the civ icon --> | ||||
<object z="30" size="0 -5 100% 40" ghost="true" type="image" sprite="remove"/> | <object z="30" size="0 -5 100% 40" ghost="true" type="image" sprite="remove"/> | ||||
<object z="30" size="0 100%-5 100% 100%+40" ghost="true" type="image" sprite="remove"/> | <object z="30" size="0 100%-5 100% 100%+40" ghost="true" type="image" sprite="remove"/> | ||||
Show All 21 Lines |
Wildfire Games · Phabricator
hidden="true" can be avoided since JS always sets it
The size property probably too, you can set size = new GUISize(left, top, right, bottom) in JS.