| 249 | } |
| 250 | |
| 251 | bool J2DPane::removeChild(J2DPane* child) |
| 252 | { |
| 253 | if (child == nullptr) { |
| 254 | return false; |
| 255 | } |
| 256 | bool removeResult = mTree.removeChild(&child->mTree); |
| 257 | if (removeResult) { |
| 258 | child->add(-mBounds.i.x, -mBounds.i.y); |
| 259 | child->calcMtx(); |
| 260 | } |
| 261 | return removeResult; |
| 262 | } |
| 263 | |
| 264 | void J2DPane::draw(f32 x, f32 y, const J2DGrafContext* grafContext, bool isOrthoGraf, bool check) |
| 265 | { |