| 45 | : NodeCursor<VisualNode>(theNode,na) {} |
| 46 | |
| 47 | forceinline void |
| 48 | LayoutCursor::processCurrentNode(void) { |
| 49 | VisualNode* currentNode = node(); |
| 50 | if (currentNode->isDirty()) { |
| 51 | if (currentNode->isHidden()) { |
| 52 | // do nothing |
| 53 | } else if (false && currentNode->getNumberOfChildren() < 1) { |
| 54 | currentNode->setShape(Shape::leaf); |
| 55 | } else { |
| 56 | currentNode->computeShape(na); |
| 57 | } |
| 58 | currentNode->setDirty(false); |
| 59 | } |
| 60 | if (currentNode->getNumberOfChildren() >= 1) |
| 61 | currentNode->setChildrenLayoutDone(true); |
| 62 | } |
| 63 | |
| 64 | }} |
| 65 |
nothing calls this directly
no test coverage detected