sglorz
07-02-2011 20:18:38
Altren
07-02-2011 22:12:22
I'm glad to see MyGUI being integrated in game engine. Yes, you are free to distribute a compiled version of the tools, but I hope that users can see, that they use MyGUI
Do you have any problems with integrating MyGUI? May be changed something? Feedback is welcome.
sglorz
07-02-2011 22:24:18
Of course they know that they are using MyGUI!
The most difficult part was the rendering, but now it works well. I've ported the Themes_Demo into the Construct code and it works pretty well.
My only concern is that MyGUI really need a full documentation on top of doxygen's generated files to explain skin's, messaging among widget, xml files, etc...
By the way, how do I get the skin metrics (Window border width, window title height, etc...) and how can I make the resizing of a window client updating also its window size?
Altren
07-02-2011 23:20:09
The most difficult part was the rendering, but now it works well. I've ported the Themes_Demo into the Construct code and it works pretty well.
My only concern is that MyGUI really need a full documentation on top of doxygen's generated files to explain skin's, messaging among widget, xml files, etc...
There are also several pages at the
wiki, but I agree about that much more still required.
By the way, how do I get the skin metrics (Window border width, window title height, etc...)
Widget::getClientCoord() return client area coordinates, so you can calculate any metrics you need.
and how can I make the resizing of a window client updating also its window size?
You should resize window itself, something like
window->setSize(window->getSize() - window->getClientCoord().size() + newClientSize);
sglorz
08-02-2011 08:25:13
There are also several pages at the wiki, but I agree about that much more still required.
Hopefully, MyGUI code is easy to understand (except for some coments in Russian

) and the overall design is very good.
Widget::getClientCoord() return client area coordinates, so you can calculate any metrics you need.
Ok, I will look into it.
window->setSize(window->getSize() - window->getClientCoord().size() + newClientSize);
Of course! I should have found it myself