This commit is contained in:
Jcw87
2023-09-04 06:41:08 -07:00
committed by GitHub
parent a6d49a9901
commit d98444fe4e
26 changed files with 548 additions and 798 deletions
+3 -3
View File
@@ -410,7 +410,7 @@ bool J2DTextBox::setConnectParent(bool connected) {
return false;
}
if ((u16)getPaneTree()->getParent()->getObject()->getTypeID() != 0x11) {
if (getPaneTree()->getParent()->getObject()->getTypeID() != 0x11) {
return false;
}
@@ -456,7 +456,7 @@ void J2DTextBox::resize(f32 x, f32 y) {
if (mConnected && getPaneTree() != NULL && getPaneTree()->getParent() != NULL) {
J2DPane* obj = getPaneTree()->getParent()->getObject();
if ((u16)obj->getTypeID() == 0x11) {
if (obj->getTypeID() == 0x11) {
f32 obj_x = obj->getWidth() + (x - getWidth());
f32 obj_y = obj->getHeight() + (y - getHeight());
obj->resize(obj_x, obj_y);
@@ -477,7 +477,7 @@ bool J2DTextBox::isUsed(ResFONT const* p_font) {
}
/* 80300C68-80300C70 2FB5A8 0008+00 1/0 1/0 0/0 .text getTypeID__10J2DTextBoxCFv */
s32 J2DTextBox::getTypeID() const {
u16 J2DTextBox::getTypeID() const {
return 19;
}