klumhru
26-02-2010 16:44:29
Hi
I have a component based system and I'd like to load an xml for each component with that component's gui elements. Is there an easy way to track what widgets each MyGUI::Gui::load() method loads? I can track the changes by diffing the widgetenum before and after the load, but that's more than a little bit ugly
I've dug through the code a bit and I could just add a Widget::load(string layoutfile) I suppose, but I thought I'd ask if there was such a method somewhere already
Regards
Hogni
I have a component based system and I'd like to load an xml for each component with that component's gui elements. Is there an easy way to track what widgets each MyGUI::Gui::load() method loads? I can track the changes by diffing the widgetenum before and after the load, but that's more than a little bit ugly

I've dug through the code a bit and I could just add a Widget::load(string layoutfile) I suppose, but I thought I'd ask if there was such a method somewhere already

Regards
Hogni