| 233 | } |
| 234 | |
| 235 | bool J2DPane::insertChild(J2DPane* before, J2DPane* child) |
| 236 | { |
| 237 | // UNUSED FUNCTION |
| 238 | // NOT VERIFIED |
| 239 | if (before == nullptr || child == nullptr) { |
| 240 | return false; |
| 241 | } |
| 242 | J2DPane* oldParent = child->getParentPane(); |
| 243 | bool removeResult = mTree.insertChild(&before->mTree, &child->mTree); |
| 244 | if ((removeResult) && oldParent == nullptr) { |
| 245 | child->add(mBounds.i.x, mBounds.i.y); |
| 246 | child->calcMtx(); |
| 247 | } |
| 248 | return removeResult; |
| 249 | } |
| 250 | |
| 251 | bool J2DPane::removeChild(J2DPane* child) |
| 252 | { |
nothing calls this directly
no test coverage detected