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

Method callCursor

src/OpenLoco/src/Ui/Window.cpp:1072–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1070 }
1071
1072 Ui::CursorId Window::callCursor(WidgetIndex_t widgetIdx, const WidgetId id, int16_t xPos, int16_t yPos, Ui::CursorId fallback)
1073 {
1074 if (eventHandlers->cursor == nullptr)
1075 {
1076 return fallback;
1077 }
1078
1079 return eventHandlers->cursor(*this, widgetIdx, id, xPos, yPos, fallback);
1080 }
1081
1082 void Window::callOnMouseUp(WidgetIndex_t widgetIndex, const WidgetId id)
1083 {

Callers 1

processMouseOverFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected