diff options
| author | Jcw87 <Jcw87@users.noreply.github.com> | 2023-07-09 22:34:43 -0700 |
|---|---|---|
| committer | Jcw87 <Jcw87@users.noreply.github.com> | 2023-07-15 19:02:27 -0700 |
| commit | 66b3dc12ae1dfea56956dd8560a68d8fb078e4d9 (patch) | |
| tree | 909a01569fc1eaed5f4492d59fede3642e1d4a8d /include/JSystem/J2DGraph | |
| parent | dd70aed513be397a70cedde46409af4fe681fd89 (diff) | |
J2DGrafContext: Use inlines from debug, improved parameter names
Diffstat (limited to 'include/JSystem/J2DGraph')
| -rw-r--r-- | include/JSystem/J2DGraph/J2DGrafContext.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/JSystem/J2DGraph/J2DGrafContext.h b/include/JSystem/J2DGraph/J2DGrafContext.h index be64fcc38f..ea04368671 100644 --- a/include/JSystem/J2DGraph/J2DGrafContext.h +++ b/include/JSystem/J2DGraph/J2DGrafContext.h @@ -9,23 +9,23 @@ class J2DGrafContext { public: - /* 802E8B08 */ J2DGrafContext(f32, f32, f32, f32); - /* 802E90C0 */ void scissor(JGeometry::TBox2<f32> const&); + /* 802E8B08 */ J2DGrafContext(f32 x, f32 y, f32 width, f32 height); + /* 802E90C0 */ void scissor(JGeometry::TBox2<f32> const& bounds); void setColor(JUtility::TColor c) { this->setColor(c, c, c, c); } - /* 802E9118 */ void setColor(JUtility::TColor, JUtility::TColor, JUtility::TColor, - JUtility::TColor); + /* 802E9118 */ void setColor(JUtility::TColor colorTL, JUtility::TColor colorTR, + JUtility::TColor colorBR, JUtility::TColor colorBL); /* 802E9234 */ void setLineWidth(u8); - /* 802E9260 */ void fillBox(JGeometry::TBox2<f32> const&); - /* 802E9368 */ void drawFrame(JGeometry::TBox2<f32> const&); - /* 802E9488 */ void line(JGeometry::TVec2<f32>, JGeometry::TVec2<f32>); - /* 802E9564 */ void lineTo(JGeometry::TVec2<f32>); + /* 802E9260 */ void fillBox(JGeometry::TBox2<f32> const& box); + /* 802E9368 */ void drawFrame(JGeometry::TBox2<f32> const& box); + /* 802E9488 */ void line(JGeometry::TVec2<f32> start, JGeometry::TVec2<f32> end); + /* 802E9564 */ void lineTo(JGeometry::TVec2<f32> pos); void lineTo(f32 x, f32 y) { this->lineTo(JGeometry::TVec2<f32>(x, y)); } void moveTo(f32 x, f32 y) { this->moveTo(JGeometry::TVec2<f32>(x, y)); } void moveTo(JGeometry::TVec2<f32> pos) { mPrevPos = pos; } /* 802E95D4 */ virtual ~J2DGrafContext() {} - /* 802E90E4 */ virtual void place(JGeometry::TBox2<f32> const&); + /* 802E90E4 */ virtual void place(JGeometry::TBox2<f32> const& bounds); /* 802E961C */ virtual void place(f32 x, f32 y, f32 width, f32 height) { JGeometry::TBox2<f32> box(x, y, x + width, y + height); this->place(box); |
