How hard would it be to integrate such functionality? Can i somehow get list of required and available properties in code?
"Window" is general name for entity?
For layouts, i guess that "Type" and "Name" are required?
Can you give me pointers where to start?
I already started experimenting on this in python (using panda3d)
Ok,i tested my idea, and it should be very easy to do it, here is some sample proof of concept code
Code: Select all
stream = file('x.yaml', 'r')
x = yaml.load(stream)
Name = x["GUILayout"]["Window"]["Name"]
Type = x["GUILayout"]["Window"]["Type"]
t = self.CEGUI.WindowManager.createWindow(Type,Name)
v = self.CEGUI.WindowManager.createWindow(Type,Name+"2")