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

Method callOnDropdown

src/OpenLoco/src/Ui/Window.cpp:1123–1131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1121 }
1122
1123 void Window::callOnDropdown(WidgetIndex_t widgetIndex, const WidgetId id, int16_t itemIndex)
1124 {
1125 if (eventHandlers->onDropdown == nullptr)
1126 {
1127 return;
1128 }
1129
1130 eventHandlers->onDropdown(*this, widgetIndex, id, itemIndex);
1131 }
1132
1133 void Window::callGetScrollSize(uint32_t scrollIndex, int32_t& scrollWidth, int32_t& scrollHeight)
1134 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected