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

Method _updateAbsolutePoint

MyGUIEngine/src/MyGUI_Widget.cpp:531–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529 }
530
531 void Widget::_updateAbsolutePoint()
532 {
533 // мы рут, нам не надо
534 if (!mCroppedParent)
535 return;
536
537 mAbsolutePosition = mCroppedParent->getAbsolutePosition() + mCoord.point();
538
539 for (auto& widget : mWidgetChild)
540 widget->_updateAbsolutePoint();
541 for (auto& widget : mWidgetChildSkin)
542 widget->_updateAbsolutePoint();
543
544 _correctSkinItemView();
545 }
546
547 void Widget::_forcePick(Widget* _widget)
548 {

Callers 4

setPositionMethod · 0.80
setCoordMethod · 0.80
detachFromWidgetMethod · 0.80
attachToWidgetMethod · 0.80

Calls 1

pointMethod · 0.45

Tested by

no test coverage detected