mirror of
https://github.com/zeldaret/tp
synced 2026-08-08 10:34:08 -04:00
J2DWindow (#1910)
This commit is contained in:
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
virtual ~J2DPane();
|
||||
|
||||
/* vt 0x0C */ virtual s32 getTypeID() const { return 16; }
|
||||
/* vt 0x0C */ virtual u16 getTypeID() const { return 16; }
|
||||
/* vt 0x10 */ virtual void move(f32 x, f32 y);
|
||||
/* vt 0x14 */ virtual void add(f32 x, f32 y);
|
||||
/* vt 0x18 */ virtual void resize(f32 x, f32 y);
|
||||
@@ -110,6 +110,7 @@ public:
|
||||
f32 getHeight() const { return mBounds.getHeight(); }
|
||||
f32 getWidth() const { return mBounds.getWidth(); }
|
||||
JSUTree<J2DPane>* getFirstChild() { return mPaneTree.getFirstChild(); }
|
||||
JSUTree<J2DPane>* getEndChild() { return mPaneTree.getEndChild(); }
|
||||
const JSUTree<J2DPane>* getPaneTree() { return &mPaneTree; }
|
||||
u8 getAlpha() const { return mAlpha; }
|
||||
|
||||
@@ -150,6 +151,8 @@ public:
|
||||
void show() { mVisible = true; }
|
||||
void hide() { mVisible = false; }
|
||||
|
||||
bool isConnectParent() const { return mConnected; }
|
||||
|
||||
void setUserInfo(u64 info) { mUserInfoTag = info; }
|
||||
const Mtx* getMtx() const { return &mPositionMtx; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user