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

Method endAttributesTransaction

src/eepp/ui/uiwidget.cpp:1334–1350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1332}
1333
1334void UIWidget::endAttributesTransaction() {
1335 mAttributesTransactionCount--;
1336
1337 if ( 0 == mAttributesTransactionCount ) {
1338 if ( mFlags & UI_ATTRIBUTE_CHANGED ) {
1339 notifyLayoutAttrChange();
1340
1341 mFlags &= ~UI_ATTRIBUTE_CHANGED;
1342 }
1343
1344 if ( mFlags & UI_PARENT_ATTRIBUTE_CHANGED ) {
1345 notifyLayoutAttrChangeParent();
1346
1347 mFlags &= ~UI_PARENT_ATTRIBUTE_CHANGED;
1348 }
1349 }
1350}
1351
1352const Uint32& UIWidget::getStyleState() const {
1353 return NULL != mStyle ? mStyle->getCurrentState() : mState;

Callers 4

updateLayoutMethod · 0.80
onStateChangeMethod · 0.80
updateLayoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected