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

Method callToolDrag

src/OpenLoco/src/Ui/Window.cpp:1032–1040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1030 }
1031
1032 void Window::callToolDrag(const WidgetIndex_t widgetIndex, const WidgetId id, const int16_t xPos, const int16_t yPos)
1033 {
1034 if (eventHandlers->toolDrag == nullptr)
1035 {
1036 return;
1037 }
1038
1039 eventHandlers->toolDrag(*this, widgetIndex, id, xPos, yPos);
1040 }
1041
1042 void Window::callToolUp(const WidgetIndex_t widgetIndex, const WidgetId id, const int16_t xPos, const int16_t yPos)
1043 {

Callers 1

stateViewportLeftFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected