Control* FindControlNamed(const ParsedMui& muiInfo, const char* name) { for (size_t i = 0; i < muiInfo.allControls.size(); i++) { Control* c = muiInfo.allControls.at(i); if (c->IsNamed(name)) return c; } return nullptr; }
Control *FindControlNamed(const ParsedMui& muiInfo, const char *name) { for (size_t i = 0; i < muiInfo.allControls.Count(); i++) { Control *c = muiInfo.allControls.At(i); if (c->IsNamed(name)) return c; } return NULL; }