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

Method addStructurallyVolatileWidgetFromParent

src/eepp/ui/uistyle.cpp:822–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820}
821
822void UIStyle::addStructurallyVolatileWidgetFromParent() {
823 if ( mGlobalDefinition && mGlobalDefinition->isStructurallyVolatile() && mWidget->getParent() &&
824 mWidget->getParent()->isWidget() &&
825 mWidget->getParent()->asType<UIWidget>()->getUIStyle() ) {
826 mWidget->getParent()->asType<UIWidget>()->getUIStyle()->addStructurallyVolatileChild(
827 mWidget );
828 }
829}
830
831void UIStyle::removeStructurallyVolatileWidgetFromParent() {
832 if ( mGlobalDefinition && mGlobalDefinition->isStructurallyVolatile() && mWidget->getParent() &&

Callers

nothing calls this directly

Calls 5

isWidgetMethod · 0.80
getUIStyleMethod · 0.80
getParentMethod · 0.45

Tested by

no test coverage detected