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

Method onMouseButtonReleased

Tools/LayoutEditor/WorkspaceControl.cpp:586–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584 }
585
586 void WorkspaceControl::onMouseButtonReleased(const MyGUI::IntPoint& _point)
587 {
588 UndoManager::getInstance().dropLastProperty();
589
590 if (WidgetCreatorManager::getInstance().getCreateMode())
591 WidgetCreatorManager::getInstance().finishNewWidget(_point);
592 }
593
594 void WorkspaceControl::onMouseDrag(const MyGUI::IntPoint& _point)
595 {

Callers

nothing calls this directly

Calls 3

dropLastPropertyMethod · 0.80
getCreateModeMethod · 0.80
finishNewWidgetMethod · 0.80

Tested by

no test coverage detected