MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / findControl

Method findControl

radiant/ui/UserInterfaceModule.cpp:348–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348IUserControlCreator::Ptr UserInterfaceModule::findControl(const std::string& name)
349{
350 auto control = _userControls.find(name);
351
352 return control != _userControls.end() ? control->second : IUserControlCreator::Ptr();
353}
354
355void UserInterfaceModule::unregisterControl(const std::string& controlName)
356{

Callers 5

refreshMethod · 0.80
addControlMethod · 0.80
activateMethod · 0.80
createPaneMethod · 0.80
toggleMainControlMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected