| 528 | } |
| 529 | |
| 530 | void DrawWidget(const Rect &r, WidgetID widget) const override |
| 531 | { |
| 532 | switch (widget) { |
| 533 | case WID_NGRFI_VEH_CHAIN: |
| 534 | this->DrawVehicleChainWidget(r); |
| 535 | break; |
| 536 | |
| 537 | case WID_NGRFI_MAINPANEL: |
| 538 | this->DrawMainPanelWidget(r); |
| 539 | break; |
| 540 | } |
| 541 | } |
| 542 | |
| 543 | void OnClick([[maybe_unused]] Point pt, WidgetID widget, [[maybe_unused]] int click_count) override |
| 544 | { |
nothing calls this directly
no test coverage detected