* Clears the tooltip text. * @param action Pointer to an action. */
| 2088 | * @param action Pointer to an action. |
| 2089 | */ |
| 2090 | void BattlescapeState::txtTooltipOut(Action *action) |
| 2091 | { |
| 2092 | if (allowButtons() && Options::battleTooltips) |
| 2093 | { |
| 2094 | if (_currentTooltip == action->getSender()->getTooltip()) |
| 2095 | { |
| 2096 | _txtTooltip->setText(L""); |
| 2097 | } |
| 2098 | } |
| 2099 | } |
| 2100 | |
| 2101 | /** |
| 2102 | * Updates the scale. |
nothing calls this directly
no test coverage detected