| 1332 | } |
| 1333 | |
| 1334 | void 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 | |
| 1352 | const Uint32& UIWidget::getStyleState() const { |
| 1353 | return NULL != mStyle ? mStyle->getCurrentState() : mState; |
no outgoing calls
no test coverage detected