* Hide vehicle loading indicators. * @param *te_id TextEffectID which is supposed to be hidden. */
| 584 | * @param *te_id TextEffectID which is supposed to be hidden. |
| 585 | */ |
| 586 | void HideFillingPercent(TextEffectID *te_id) |
| 587 | { |
| 588 | if (*te_id == INVALID_TE_ID) return; |
| 589 | |
| 590 | RemoveTextEffect(*te_id); |
| 591 | *te_id = INVALID_TE_ID; |
| 592 | } |
| 593 | |
| 594 | static constexpr std::initializer_list<NWidgetPart> _nested_tooltips_widgets = { |
| 595 | NWidget(WWT_EMPTY, INVALID_COLOUR, WID_TT_BACKGROUND), |
no test coverage detected