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

Method callToolAbort

src/OpenLoco/src/Ui/Window.cpp:1052–1060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1050 }
1051
1052 void Window::callToolAbort(WidgetIndex_t widgetIndex, const WidgetId id)
1053 {
1054 if (eventHandlers->onToolAbort == nullptr)
1055 {
1056 return;
1057 }
1058
1059 eventHandlers->onToolAbort(*this, widgetIndex, id);
1060 }
1061
1062 Ui::CursorId Window::callToolCursor(int16_t xPos, int16_t yPos, Ui::CursorId fallback, bool* out)
1063 {

Callers 1

toolCancelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected