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

Method getParentSize

MyGUIEngine/src/MyGUI_Widget.cpp:1082–1090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1080 }
1081
1082 IntSize Widget::getParentSize() const
1083 {
1084 if (mCroppedParent)
1085 return static_cast<Widget*>(mCroppedParent)->getSize();
1086 if (getLayer())
1087 return getLayer()->getSize();
1088
1089 return RenderManager::getInstance().getViewSize();
1090 }
1091
1092 void Widget::_resetContainer(bool _updateOnly)
1093 {

Callers 15

snapToParentMethod · 0.80
onDoModalMethod · 0.80
moveMethod · 0.80
FriendPanelMethod · 0.80
ControlPanelMethod · 0.80
EnemyPanelMethod · 0.80
addTimeMethod · 0.80
recalculateTimeMethod · 0.80
calculateListPositionMethod · 0.80

Calls 2

getSizeMethod · 0.45
getViewSizeMethod · 0.45

Tested by 1

createSkinMethod · 0.64