MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / connectModeChangeEvent

Method connectModeChangeEvent

source/modes/MenuModeMain.cpp:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void 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
174void MenuModeMain::connectModeChangeEvent(CEGUI::Window* button, AbstractModeManager::ModeType mode)
175{

Callers

nothing calls this directly

Calls 1

getGuiSheetMethod · 0.80

Tested by

no test coverage detected