MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / windowPositionEnd

Function windowPositionEnd

src/OpenLoco/src/Input/MouseInput.cpp:1443–1450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1441 }
1442
1443 static void windowPositionEnd()
1444 {
1445 state(State::normal);
1446 Ui::ToolTip::setTooltipTimeout(0);
1447 Ui::ToolTip::setWidgetIndex(_pressedWidgetIndex);
1448 Ui::ToolTip::setWindowType(_dragWindowType);
1449 Ui::ToolTip::setWindowNumber(_dragWindowNumber);
1450 }
1451
1452#pragma mark - Window resizing
1453

Callers 1

statePositioningWindowFunction · 0.85

Calls 5

setTooltipTimeoutFunction · 0.85
setWidgetIndexFunction · 0.85
setWindowTypeFunction · 0.85
setWindowNumberFunction · 0.85
stateFunction · 0.50

Tested by

no test coverage detected