53 | | ^(Describe your design here.)^ |
| 53 | * Change the hud halo button icon depending on hud visibility: |
| 54 | * Make {{{HudHaloButton}}} to extend {{{SwitchHaloButton}}}. |
| 55 | * Remove the TODO comment in the Javadoc. |
| 56 | * Override {{{SwitchHaloButton.computeState}}}. |
| 57 | * It should return State.ON when {{{hud().get().shown().get()}}} is true and State.OFF otherwise. |
| 58 | * In all subclasses of {{{HudHaloButton}}} replace the record {{{ICON_PROP_ID}}} with two skin records: |
| 59 | * ICON_OFF_PROP_ID - the default icon. |
| 60 | * ICON_ON_PROP_ID - the icon that will be used when the hud is visible. |
| 61 | * Use the icons provided by Shift Global. |