| 452 | } |
| 453 | |
| 454 | void OnResize() override |
| 455 | { |
| 456 | if (this->viewport != nullptr) { |
| 457 | NWidgetViewport *nvp = this->GetWidget<NWidgetViewport>(WID_M_VIEWPORT); |
| 458 | nvp->UpdateViewportCoordinates(this); |
| 459 | this->refresh_timeout.Reset(); |
| 460 | } |
| 461 | } |
| 462 | |
| 463 | bool OnTooltip([[maybe_unused]] Point pt, WidgetID widget, TooltipCloseCondition close_cond) override |
| 464 | { |
nothing calls this directly
no test coverage detected