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

Method setAbsolutePosition

UnitTests/UnitTest_GraphView/BaseGraphNode.h:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 void setAbsolutePosition(const MyGUI::IntPoint& _point)
83 {
84 setPosition(MyGUI::IntPoint(
85 _point.left - mMainWidget->getParent()->getAbsoluteLeft(),
86 _point.top - mMainWidget->getParent()->getAbsoluteTop()));
87 }
88
89 /*internal:*/
90 void _initialise(MyGUI::Widget* _parent, IGraphController* _view)

Callers 1

createNodeMethod · 0.80

Calls 3

setPositionFunction · 0.85
IntPointFunction · 0.50
getParentMethod · 0.45

Tested by

no test coverage detected