MCPcopy Create free account
hub / github.com/MyGUI/mygui / onMouseButtonPressed

Method onMouseButtonPressed

Tools/LayoutEditor/WorkspaceControl.cpp:580–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578 }
579
580 void WorkspaceControl::onMouseButtonPressed(const MyGUI::IntPoint& _point)
581 {
582 if (WidgetCreatorManager::getInstance().getCreateMode())
583 WidgetCreatorManager::getInstance().createNewWidget(_point);
584 }
585
586 void WorkspaceControl::onMouseButtonReleased(const MyGUI::IntPoint& _point)
587 {

Callers

nothing calls this directly

Calls 2

getCreateModeMethod · 0.80
createNewWidgetMethod · 0.80

Tested by

no test coverage detected