summaryrefslogtreecommitdiff
path: root/include/JSystem/J2DGraph
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-08-07 16:40:56 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-08-07 16:40:56 -0400
commit07b55421f9ce2db2fecbaaa34a3e1b59d6f231a7 (patch)
treeff592e73778c07836dbbf93912b8a2c248c6307a /include/JSystem/J2DGraph
parent5e00819c5ba6ea0c7177d2f0aae29ccc7c49f55c (diff)
msg inline fixes, remove some fake jsystem inlines
Diffstat (limited to 'include/JSystem/J2DGraph')
-rw-r--r--include/JSystem/J2DGraph/J2DPane.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/JSystem/J2DGraph/J2DPane.h b/include/JSystem/J2DGraph/J2DPane.h
index 81b2e28c..646c7ce3 100644
--- a/include/JSystem/J2DGraph/J2DPane.h
+++ b/include/JSystem/J2DGraph/J2DPane.h
@@ -54,13 +54,9 @@ public:
virtual void move(f32 x, f32 y);
virtual void add(f32 x, f32 y);
- // fakematch, this fake inline is only needed by the J2DPane::resize call inside of J2DWindow::resize
- f32 resize__getMinX() const { return mBounds.i.x; }
virtual void resize(f32 w, f32 h) {
- f32 x = resize__getMinX();
- x += w;
- mBounds.f.x = x;
- mBounds.f.y = mBounds.i.y + h;
+ JGeometry::TVec2<f32> size(w, h);
+ mBounds.setSize(size);
}
virtual bool setConnectParent(bool connected) {
mIsConnectParent = 0;