diff options
| author | Jasper St. Pierre <jstpierre@mecheye.net> | 2023-10-11 22:46:30 -0700 |
|---|---|---|
| committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2023-10-11 22:46:30 -0700 |
| commit | f1ee93c1383d28f272d1b9f641119f8a2c395dbb (patch) | |
| tree | 5bae943354f242c696819c9247ea7e98f3477cf4 /src/JSystem/J2DGraph/J2DPane.cpp | |
| parent | dba5833011697f7c320a0c7be3ae816ef6bbf131 (diff) | |
J2DScreen match
Diffstat (limited to 'src/JSystem/J2DGraph/J2DPane.cpp')
| -rw-r--r-- | src/JSystem/J2DGraph/J2DPane.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/JSystem/J2DGraph/J2DPane.cpp b/src/JSystem/J2DGraph/J2DPane.cpp index 4dfdb177..ccef174d 100644 --- a/src/JSystem/J2DGraph/J2DPane.cpp +++ b/src/JSystem/J2DGraph/J2DPane.cpp @@ -53,7 +53,7 @@ void J2DPane::initiate() { mAlpha = 0xFF; mInheritAlpha = TRUE; mDrawAlpha = 0xFF; - field_0xaf = 0; + mIsConnectParent = 0; calcMtx(); } @@ -117,7 +117,7 @@ void J2DPane::makePaneStream(J2DPane* pParentPane, JSURandomInputStream* pStream mCullMode = GX_CULL_NONE; mDrawAlpha = 0xFF; - field_0xaf = 0; + mIsConnectParent = 0; calcMtx(); } @@ -196,7 +196,7 @@ void J2DPane::draw(float x, float y, const J2DGrafContext* pCtx, bool clip) { GXSetCullMode((GXCullMode)mCullMode); drawSelf(x, y, &ctx.mPosMtx); - for (JSUTreeIterator<J2DPane> iter = mPaneTree.getFirstChild(); iter; ++iter) + for (JSUTreeIterator<J2DPane> iter = mPaneTree.getFirstChild(); iter != mPaneTree.getEndChild(); ++iter) iter->draw(0.0f, 0.0f, pCtx, clip); } } |
