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

Function onDropdown

src/OpenLoco/src/Ui/Windows/TitleMenu.cpp:334–342  ·  view source on GitHub ↗

0x004390DD

Source from the content-addressed store, hash-verified

332
333 // 0x004390DD
334 static void onDropdown([[maybe_unused]] Ui::Window& window, WidgetIndex_t widgetIndex, [[maybe_unused]] const WidgetId id, int16_t itemIndex)
335 {
336 switch (widgetIndex)
337 {
338 case Widx::tutorial_btn:
339 sub_4391CC(itemIndex);
340 break;
341 }
342 }
343
344 // 0x004390ED
345 static void onTextInput([[maybe_unused]] Window& window, WidgetIndex_t widgetIndex, [[maybe_unused]] const WidgetId id, const char* input)

Callers

nothing calls this directly

Calls 1

sub_4391CCFunction · 0.85

Tested by

no test coverage detected