Yes, that's no problem. I'll get that committed to the repo.Another thing I thought about was the extension of layout files. Since the layout editor wants .layout, would it make more sense to have them that instead of xml?
Well, currently it's not possible because the different box edges are in a different texture. Until then, it should be ResourceLayout like this:Not sure how <Skin name="MW_Box" size="516 516"> would be translated to a <Resource type="ResourceSkin"> equivalent.
Code: Select all
<Resource type="ResourceLayout" name="MW_Box" version="3.2.0">
<Widget type="Widget" skin="" position="0 0 516 516" name="Root">
<Widget type="Widget" skin="IB_T" position="2 0 512 2" align="ALIGN_TOP ALIGN_HSTRETCH"/>
<Widget type="Widget" skin="IB_B" position="2 514 512 2" align="ALIGN_BOTTOM ALIGN_HSTRETCH"/>
............. etc
</Widget>
</Resource>
Nope, there is no need for code changes. btw, I am using this new syntax for one skin already (Tab skin), because I couldn't get it to work with the old syntax.Anyhow, I'm guessing there's some code that need to be changed in order for OpenMW to recognize the new syntax?