I would like to create ResourceImageSet's through code. I can't use a .xml file because I don't know the image coordinates beforehand. What's the correct way to create resources? Maybe a code like this? But how would I go about cleaning up later then?
MyGUI::ResourceImageSet* newResourceImageSet = new MyGUI::ResourceImageSet();