[codex] Match keyboard GUI manager #131

Merged
coah80 merged 1 commits from agent/continue-0922/17-iplNigaoe into main 2026-09-22 06:49:43 +00:00
2 changed files with 5 additions and 2 deletions

View File

@@ -290,7 +290,7 @@ namespace textinput {
public:
PaneComponent(u32 id) : GUIComponent(id) { mpPane = NULL; }
virtual ~PaneComponent() {} // 0x08
virtual ~PaneComponent(); // 0x08
virtual void draw(); // 0x1C

View File

@@ -315,8 +315,11 @@ namespace textinput {
return NULL;
}
PaneComponent::~PaneComponent() {}
void PaneManager::setAllBoundingBoxComponentTriggerTarget(bool bEnable) {
for (u32 i = 0; i < nw4r::ut::List_GetSize(&mPaneComponents); i++) {
const volatile u16& numObjects = mPaneComponents.numObjects;
for (u32 i = 0; i < numObjects; i++) {
PaneToComponent* p = static_cast<PaneToComponent*>(nw4r::ut::List_GetNth(&mPaneComponents, (u16)i));
if (nw4r::ut::DynamicCast<nw4r::lyt::Bounding*>(p->getPane())) {
p->mpComponent->setTriggerTarget(bEnable);