| 166 | } |
| 167 | |
| 168 | void MenuModeMain::connectModeChangeEvent(const std::string& buttonName, AbstractModeManager::ModeType mode) |
| 169 | { |
| 170 | CEGUI::Window* window = getModeManager().getGui().getGuiSheet(Gui::mainMenu); |
| 171 | connectModeChangeEvent(window->getChild(buttonName), mode); |
| 172 | } |
| 173 | |
| 174 | void MenuModeMain::connectModeChangeEvent(CEGUI::Window* button, AbstractModeManager::ModeType mode) |
| 175 | { |
nothing calls this directly
no test coverage detected