Zaoshi
13-11-2012 15:25:31
Hello,
There's a way to load layout from file using
However, I'm planning to use datafiles, so layout file will exist only in the memory and I failed to find any function that can load layout from memory pointer. Does anyone know if this is even possible?
Using manual way of GUI creation definitely fixes this issue, but it's very hard to edit it, so I'd prefer not to use this way.
Thank you in advance.
There's a way to load layout from file using
MyGUI::LayoutManager::getInstance().loadLayout(...);
or create GUI manually by ...->createWidget<...>(...);
.However, I'm planning to use datafiles, so layout file will exist only in the memory and I failed to find any function that can load layout from memory pointer. Does anyone know if this is even possible?
Using manual way of GUI creation definitely fixes this issue, but it's very hard to edit it, so I'd prefer not to use this way.
Thank you in advance.