mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-13 12:09:19 -04:00
msg inline fixes, remove some fake jsystem inlines
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user