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

Method dispatch

radiant/ui/UserInterfaceModule.cpp:320–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320void UserInterfaceModule::dispatch(const std::function<void()>& action)
321{
322 // Store this action in the event queue, it will be handled during the next event loop
323 wxTheApp->QueueEvent(new DispatchEvent(DISPATCH_EVENT, wxID_ANY, action));
324}
325
326void UserInterfaceModule::registerControl(IUserControlCreator::Ptr control)
327{

Callers 9

onMessageMethod · 0.80
onTimerChangedMethod · 0.80
loadFileDurationAsyncMethod · 0.80
onDefsReloadedMethod · 0.80
DeclarationSelectorMethod · 0.80
setMapFileStatusMethod · 0.80
setRemoteStatusMethod · 0.80

Calls

no outgoing calls

Tested by 1

onDefsReloadedMethod · 0.64