MCPcopy Create free account
hub / github.com/SpartanJ/eepp / startDragging

Method startDragging

src/eepp/ui/uinode.cpp:1533–1540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1531}
1532
1533void UINode::startDragging( const Vector2f& position ) {
1534 setDragging( true );
1535
1536 if ( NULL != getEventDispatcher() )
1537 getEventDispatcher()->setNodeDragging( this );
1538
1539 mDragPoint = position;
1540}
1541
1542bool UINode::ownsChildPosition() const {
1543 return 0 != ( mFlags & UI_OWNS_CHILDREN_POSITION );

Callers 2

onMouseDownMethod · 0.80
onMessageMethod · 0.80

Calls 1

setNodeDraggingMethod · 0.80

Tested by

no test coverage detected