0x0043A071
| 731 | |
| 732 | // 0x0043A071 |
| 733 | static void onMouseDown(Window& window, WidgetIndex_t widgetIndex, [[maybe_unused]] const WidgetId id) |
| 734 | { |
| 735 | switch (widgetIndex) |
| 736 | { |
| 737 | case Common::Widx::loadsave_menu: |
| 738 | loadsaveMenuMouseDown(&window, widgetIndex); |
| 739 | break; |
| 740 | |
| 741 | case Common::Widx::audio_menu: |
| 742 | audioMenuMouseDown(&window, widgetIndex); |
| 743 | break; |
| 744 | |
| 745 | case Widx::cheats_menu: |
| 746 | cheatsMenuMouseDown(&window, widgetIndex); |
| 747 | break; |
| 748 | |
| 749 | case Common::Widx::railroad_menu: |
| 750 | railroadMenuMouseDown(&window, widgetIndex); |
| 751 | break; |
| 752 | |
| 753 | case Common::Widx::port_menu: |
| 754 | portMenuMouseDown(&window, widgetIndex); |
| 755 | break; |
| 756 | |
| 757 | case Common::Widx::build_vehicles_menu: |
| 758 | buildVehiclesMenuMouseDown(&window, widgetIndex); |
| 759 | break; |
| 760 | |
| 761 | case Common::Widx::vehicles_menu: |
| 762 | vehiclesMenuMouseDown(&window, widgetIndex); |
| 763 | break; |
| 764 | |
| 765 | case Common::Widx::stations_menu: |
| 766 | stationsMenuMouseDown(&window, widgetIndex); |
| 767 | break; |
| 768 | |
| 769 | default: |
| 770 | Common::onMouseDown(&window, widgetIndex); |
| 771 | break; |
| 772 | } |
| 773 | } |
| 774 | |
| 775 | static void onDropdown(Window& window, WidgetIndex_t widgetIndex, [[maybe_unused]] const WidgetId id, int16_t itemIndex) |
| 776 | { |
nothing calls this directly
no test coverage detected