Quick reloading

urosidoki

05-08-2012 15:33:29

Hi guys,

I am trying to reload a *.layout XML file in run-time but it doesn't seem possible.
It could be really nice for quick prototyping, do you have any suggestion?

Cheers!

Altren

05-08-2012 22:22:44

Loaded and parsed layout files are saved in memory for future faster usage. If your file was changes, then you need to manually unload layout resource:
MyGUI::ResourceManager::getInstance().removeByName("My.layout");

urosidoki

06-08-2012 12:51:48

I see.

Wouldn't you consider it as a interesting feature for next versions?

Cheers.