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

Method initialize

libs/JSystem/J2DGraph/J2DPane.cpp:50–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void J2DPane::initialize(J2DPane* parent, bool isVisible, u64 tag, const JGeometry::TBox2f& box)
51{
52 mBloBlockType = 'PAN1';
53 mIsVisible = isVisible;
54 mTag = tag;
55 mMessageID = 0;
56 mBounds.set(box);
57 if (parent) {
58 parent->mTree.appendChild(&mTree);
59 }
60 initiate();
61 changeUseTrans(parent);
62 calcMtx();
63}
64
65J2DPane::J2DPane(u64 tag, const JGeometry::TBox2f& box)
66 : mTree(this)

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
appendChildMethod · 0.45

Tested by

no test coverage detected