| 591 | } |
| 592 | |
| 593 | void OnQueryTextFinished(std::optional<std::string> str) override |
| 594 | { |
| 595 | if (!str.has_value()) return; |
| 596 | |
| 597 | auto val = ParseInteger<uint32_t>(*str, 16, true); |
| 598 | if (!val.has_value()) return; |
| 599 | NewGRFInspectWindow::var60params[GetFeatureNum(this->window_number)][this->current_edit_param - 0x60] = *val; |
| 600 | this->SetDirty(); |
| 601 | } |
| 602 | |
| 603 | void OnResize() override |
| 604 | { |
nothing calls this directly
no test coverage detected