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

Method callToolUpdate

src/OpenLoco/src/Ui/Window.cpp:1012–1020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1010 }
1011
1012 void Window::callToolUpdate(WidgetIndex_t widgetIndex, const WidgetId id, int16_t xPos, int16_t yPos)
1013 {
1014 if (eventHandlers->onToolUpdate == nullptr)
1015 {
1016 return;
1017 }
1018
1019 eventHandlers->onToolUpdate(*this, widgetIndex, id, xPos, yPos);
1020 }
1021
1022 void Window::callToolDown(WidgetIndex_t widgetIndex, const WidgetId id, int16_t xPos, int16_t yPos)
1023 {

Callers 1

processMouseToolFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected