I mean... the following code from the demo project could be generated from the xml file right?
Code: Select all
PushButton* btn = (PushButton*)WindowManager::getSingleton().createWindow((utf8*)"TaharezLook/Button", (utf8*)"QuitButton");
sheet->addChildWindow(btn);
btn->setText((utf8*)"Quit!");
btn->setPosition(Point(0.035f, 0.0f));
btn->setSize(Size(0.1f, 0.036f));loop all the widgets in the xml file and maybe manually subscribe eventlisteners to each... I really can't imagine such a function isn't available somewhere... any place someone can point me to?
Thanks in advance,
Alex


