MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / WindowTooltipReset

Function WindowTooltipReset

src/openrct2-ui/windows/Tooltip.cpp:159–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 };
158
159 void WindowTooltipReset(const ScreenCoordsXY& screenCoords)
160 {
161 gTooltipCursor = screenCoords;
162 gTooltipCloseTimeout = 0;
163 gTooltipWidget.windowClassification = WindowClass::null;
164 InputSetState(InputState::normal);
165 gInputFlags.unset(InputFlag::leftMousePressed);
166 }
167
168 void WindowTooltipShow(const StringWithArgs& message, ScreenCoordsXY screenCoords)
169 {

Callers 1

GameHandleInputMouseFunction · 0.85

Calls 2

InputSetStateFunction · 0.85
unsetMethod · 0.80

Tested by

no test coverage detected