Differential D2875 Diff 12937 binaries/data/mods/public/gui/session/selection_panels_left/garrison_panel.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/selection_panels_left/garrison_panel.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
<object name="unitGarrisonPanel" size="24 12 100% 100%"> | <object name="unitGarrisonPanel" | ||||
Nescio: Idem. | |||||
size="20 6 100% 100%" | |||||
NescioAuthorUnsubmitted Done Inline ActionsThe 20 (not 6) is intentional, otherwise the health bar (line 15) would be placed on top of the map panel. Nescio: The 20 (not 6) is intentional, otherwise the health bar (line 15) would be placed on top of the… | |||||
> | |||||
<object> | <object> | ||||
<repeat count="12"> | <repeat count="12"> | ||||
<object name="unitGarrisonButton[n]" hidden="true" style="iconButton" type="button" size="0 0 36 36" tooltip_style="sessionToolTipBottomBold" z="100"> | <object name="unitGarrisonButton[n]" hidden="true" style="iconButton" type="button" size="0 0 38 38" tooltip_style="sessionToolTipBottomBold" z="100"> | ||||
<object name="unitGarrisonSelection[n]" type="image" ghost="true"/> | <object name="unitGarrisonSelection[n]" type="image" ghost="true"/> | ||||
<object name="unitGarrisonIcon[n]" type="image" ghost="true" size="3 3 33 33"/> | <object name="unitGarrisonIcon[n]" type="image" ghost="true" size="3 3 35 35"/> | ||||
<object name="unitGarrisonCount[n]" ghost="true" style="groupIconsText" type="text"/> | <object name="unitGarrisonCount[n]" ghost="true" style="groupIconsText" type="text"/> | ||||
</object> | </object> | ||||
</repeat> | </repeat> | ||||
</object> | </object> | ||||
<!-- Health bar of garrisoned units --> | <!-- Health bar of garrisoned units --> | ||||
<object size="-14 1 -7 100%-49" type="image" name="healthGarrison" tooltip_style="sessionToolTip"> | <object size="-14 1 -7 100%-49" type="image" name="healthGarrison" tooltip_style="sessionToolTip"> | ||||
<translatableAttribute id="tooltip">Hitpoints</translatableAttribute> | <translatableAttribute id="tooltip">Health</translatableAttribute> | ||||
<object type="image" sprite="barBorder" ghost="true" size="-1 -1 100%+1 100%+1"/> | <object type="image" sprite="barBorder" ghost="true" size="-1 -1 100%+1 100%+1"/> | ||||
<object type="image" sprite="healthBackground" ghost="true"/> | <object type="image" sprite="healthBackground" ghost="true"/> | ||||
<object type="image" sprite="healthForeground" ghost="true" name="healthBarGarrison"/> | <object type="image" sprite="healthForeground" ghost="true" name="healthBarGarrison"/> | ||||
<object type="image" sprite="statsBarShaderVertical" ghost="true"/> | <object type="image" sprite="statsBarShaderVertical" ghost="true"/> | ||||
</object> | </object> | ||||
</object> | </object> |
Wildfire Games · Phabricator
Idem.