raygeee
30-03-2009 10:31:21
I'm currently playing with MyGUI.Managed for Mogre and replacing my own wrapper with it.
The speed is quite good, as is the usage.
One ugly thing I found is that the wrapper needs all main resources to be in the resourcegroup "General". Which is because Gui.Initialise doesn't take a resourcegroup and a filename as parameters and initialies core.xml to be in "General".
For some methods I found another way (like Widget.FindWidget can be used from the parent widget the same way as Gui::FindWidget), but others I still miss...
I would appreciate if the RenderBox methods would be wrapped too (at least injectObject, setAnimation, clear...)
By the way, if I use the Widget.Dispose() with my parent widget, does it equal to Gui::UnloadLayout? Since there is only a LoadLayout method and no UnloadLayout.
PS: If the wrapping process (for Mogre) isn't that complicated I'd give it a try myself if anyone would tell me how to do.
edit: Ok, I would be able to change the resourcegroup to my preferred one by hacking the compiled dll. But that's not really the clean way
One other method I'm missing is to be able so show and hide the mouse pointer.
The speed is quite good, as is the usage.
One ugly thing I found is that the wrapper needs all main resources to be in the resourcegroup "General". Which is because Gui.Initialise doesn't take a resourcegroup and a filename as parameters and initialies core.xml to be in "General".
For some methods I found another way (like Widget.FindWidget can be used from the parent widget the same way as Gui::FindWidget), but others I still miss...
I would appreciate if the RenderBox methods would be wrapped too (at least injectObject, setAnimation, clear...)
By the way, if I use the Widget.Dispose() with my parent widget, does it equal to Gui::UnloadLayout? Since there is only a LoadLayout method and no UnloadLayout.
PS: If the wrapping process (for Mogre) isn't that complicated I'd give it a try myself if anyone would tell me how to do.
edit: Ok, I would be able to change the resourcegroup to my preferred one by hacking the compiled dll. But that's not really the clean way

One other method I'm missing is to be able so show and hide the mouse pointer.