diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2026-09-15 08:59:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-15 11:59:02 -0400 |
| commit | 43f8aac7dc5d0df7f980651e08b2ba53aa89345f (patch) | |
| tree | ae7d7acfadfb339470dc0088ba2c4c521ba983d0 /include/JSystem/J2DGraph | |
| parent | ff768cc1d9ed10e884e006773a5f9ac6a8d6eff4 (diff) | |
d_operate_wind mostly done (#1207)
Diffstat (limited to 'include/JSystem/J2DGraph')
| -rw-r--r-- | include/JSystem/J2DGraph/J2DPicture.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/JSystem/J2DGraph/J2DPicture.h b/include/JSystem/J2DGraph/J2DPicture.h index dd55e7e8..a8af95ad 100644 --- a/include/JSystem/J2DGraph/J2DPicture.h +++ b/include/JSystem/J2DGraph/J2DPicture.h @@ -27,7 +27,10 @@ enum J2DMirror { class J2DPicture : public J2DPane { public: struct TCornerColor { - // TODO + JUtility::TColor corner0; + JUtility::TColor corner1; + JUtility::TColor corner2; + JUtility::TColor corner3; }; J2DPicture(); @@ -122,8 +125,12 @@ public: void load(u8 i) { mpTexture[i]->load((GXTexMapID)i); } - // TODO - void getCornerColor(J2DPicture::TCornerColor&) const {} + void getCornerColor(J2DPicture::TCornerColor& rColor) const { + rColor.corner0 = mCornerColor[0]; + rColor.corner1 = mCornerColor[1]; + rColor.corner2 = mCornerColor[2]; + rColor.corner3 = mCornerColor[3]; + } protected: /* 0x0CC */ JUTTexture* mpTexture[4]; |
