| 455 | } |
| 456 | |
| 457 | void TitleScreen::initOptionsMenu(UniverseClientPtr client) { |
| 458 | auto optionsMenu = make_shared<OptionsMenu>(&m_paneManager,client); |
| 459 | optionsMenu->setAnchor(PaneAnchor::Center); |
| 460 | optionsMenu->lockPosition(); |
| 461 | |
| 462 | m_paneManager.registerPane("optionsMenu", PaneLayer::Hud, optionsMenu, [this](PanePtr const&) { |
| 463 | back(); |
| 464 | }); |
| 465 | } |
| 466 | |
| 467 | void TitleScreen::initModsMenu() { |
| 468 | auto modsMenu = make_shared<ModsMenu>(); |
nothing calls this directly
no test coverage detected