| 342 | } |
| 343 | |
| 344 | std::string GetWidgetString(WidgetID widget, StringID stringid) const override |
| 345 | { |
| 346 | if (widget != WID_NGRFI_CAPTION) return this->Window::GetWidgetString(widget, stringid); |
| 347 | |
| 348 | return GetFeatureHelper(this->window_number).GetName(this->GetFeatureIndex()); |
| 349 | } |
| 350 | |
| 351 | void UpdateWidgetSize(WidgetID widget, Dimension &size, [[maybe_unused]] const Dimension &padding, [[maybe_unused]] Dimension &fill, [[maybe_unused]] Dimension &resize) override |
| 352 | { |
nothing calls this directly
no test coverage detected