MCPcopy Create free account
hub / github.com/doldecomp/mkdd / removeChild

Method removeChild

libs/JSystem/J2DGraph/J2DPane.cpp:251–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251bool 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
264void J2DPane::draw(f32 x, f32 y, const J2DGrafContext* grafContext, bool isOrthoGraf, bool check)
265{

Callers 3

~HioNodeMethod · 0.45
freeMethod · 0.45
~JKRHeapMethod · 0.45

Calls 2

addMethod · 0.45
calcMtxMethod · 0.45

Tested by

no test coverage detected