| 255 | } |
| 256 | |
| 257 | void OnInit() override |
| 258 | { |
| 259 | bool missing_sprites = _missing_extra_graphics > 0 && !IsReleasedVersion(); |
| 260 | this->GetWidget<NWidgetStacked>(WID_SGI_BASESET_SELECTION)->SetDisplayedPlane(missing_sprites ? 0 : SZSP_NONE); |
| 261 | |
| 262 | bool missing_lang = _current_language->missing >= _settings_client.gui.missing_strings_threshold && !IsReleasedVersion(); |
| 263 | this->GetWidget<NWidgetStacked>(WID_SGI_TRANSLATION_SELECTION)->SetDisplayedPlane(missing_lang ? 0 : SZSP_NONE); |
| 264 | } |
| 265 | |
| 266 | void DrawWidget(const Rect &r, WidgetID widget) const override |
| 267 | { |
nothing calls this directly
no test coverage detected