mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-19 14:53:56 -07:00
Change the logic to only insert/delete buttonhandlers on ownershipchange and update only the entitystate dependent part on simulation update. Differential Revision: https://code.wildfiregames.com/D2387 This was SVN commit r23089.
22 lines
1.1 KiB
XML
22 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<object name="panelEntityButtons" size="0 36 50 93">
|
|
<!-- Displays buttons for the most important units like heroes and relics -->
|
|
<repeat count="19" var="n">
|
|
<object name="panelEntityButton[n]" size="0 0 50 50" type="button" hidden="true" style="iconButton" tooltip_style="sessionToolTip">
|
|
|
|
<object name="panelEntityImage[n]" size="5 5 100%-5 100%-5" type="image" ghost="true"/>
|
|
<object name="panelEntityHitOverlay[n]" hidden="true" type="image" ghost="true" size="5 5 100%-5 100%-5"/>
|
|
|
|
<!-- Health bar -->
|
|
<object size="3 100%-7 100%-3 100%-2" name="panelEntityHealthSection[n]" ghost="true">
|
|
<object size="0 0 100% 5" name="panelEntityHealth[n]" type="image" ghost="true">
|
|
<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="healthForeground" ghost="true" name="panelEntityHealthBar[n]"/>
|
|
<object type="image" sprite="statsBarShaderHorizontal" ghost="true"/>
|
|
</object>
|
|
</object>
|
|
|
|
</object>
|
|
</repeat>
|
|
</object>
|