From da415ac542ccdb4379cc4e35a2c636c4e42f84a2 Mon Sep 17 00:00:00 2001 From: Noah McQueen Date: Sun, 10 Sep 2023 23:17:07 -0600 Subject: Several JSystem file matches --- include/JSystem/J2DGraph/J2DGrafContext.h | 35 +++++++++++++++---------------- 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'include/JSystem/J2DGraph') diff --git a/include/JSystem/J2DGraph/J2DGrafContext.h b/include/JSystem/J2DGraph/J2DGrafContext.h index 1d41b509..244aaf56 100644 --- a/include/JSystem/J2DGraph/J2DGrafContext.h +++ b/include/JSystem/J2DGraph/J2DGrafContext.h @@ -14,33 +14,32 @@ public: /* 0x2 */ u8 mDstFactor; }; - - /* 802E8B08 */ J2DGrafContext(f32 x, f32 y, f32 width, f32 height); - /* 802E90C0 */ void scissor(JGeometry::TBox2 const& bounds); + J2DGrafContext(f32 x, f32 y, f32 width, f32 height); + void scissor(JGeometry::TBox2 const& bounds); void setColor(JUtility::TColor c) { this->setColor(c, c, c, c); } - /* 802E9118 */ void setColor(JUtility::TColor colorTL, JUtility::TColor colorTR, - JUtility::TColor colorBR, JUtility::TColor colorBL); - /* 802E9234 */ void setLineWidth(u8); - /* 802E9260 */ void fillBox(JGeometry::TBox2 const& box); - /* 802E9368 */ void drawFrame(JGeometry::TBox2 const& box); - /* 802E9488 */ void line(JGeometry::TVec2 start, JGeometry::TVec2 end); - /* 802E9564 */ void lineTo(JGeometry::TVec2 pos); + void setColor(JUtility::TColor colorTL, JUtility::TColor colorTR, JUtility::TColor colorBR, + JUtility::TColor colorBL); + void setLineWidth(u8); + void fillBox(JGeometry::TBox2 const& box); + void drawFrame(JGeometry::TBox2 const& box); + void line(JGeometry::TVec2 start, JGeometry::TVec2 end); + void lineTo(JGeometry::TVec2 pos); void lineTo(f32 x, f32 y) { this->lineTo(JGeometry::TVec2(x, y)); } void moveTo(f32 x, f32 y) { this->moveTo(JGeometry::TVec2(x, y)); } void moveTo(JGeometry::TVec2 pos) { mPrevPos = pos; } - /* 802E95D4 */ virtual ~J2DGrafContext() {} - /* 802E90E4 */ virtual void place(JGeometry::TBox2 const& bounds); - /* 802E961C */ virtual void place(f32 x, f32 y, f32 width, f32 height) { + virtual ~J2DGrafContext() {} + virtual void place(JGeometry::TBox2 const& bounds); + virtual void place(f32 x, f32 y, f32 width, f32 height) { JGeometry::TBox2 box(x, y, x + width, y + height); this->place(box); } - /* 802E8BB4 */ virtual void setPort(); - /* 802E8C44 */ virtual void setup2D(); - /* 802E8E20 */ virtual void setScissor(); - /* 802E9664 */ virtual s32 getGrafType() const { return 0; } - /* 802E966C */ virtual void setLookat() {} + virtual void setPort(); + virtual void setup2D(); + virtual void setScissor(); + virtual s32 getGrafType() const { return 0; } + virtual void setLookat() {} public: /* 0x04 */ JGeometry::TBox2 mBounds; -- cgit v1.2.3