MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / txtTooltipOut

Method txtTooltipOut

src/Battlescape/BattlescapeState.cpp:2090–2099  ·  view source on GitHub ↗

* Clears the tooltip text. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

2088* @param action Pointer to an action.
2089*/
2090void 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.

Callers

nothing calls this directly

Calls 3

getTooltipMethod · 0.80
getSenderMethod · 0.80
setTextMethod · 0.45

Tested by

no test coverage detected