Page 1 of 1

glade XML to CEGUI layout XML

Posted: Tue Mar 10, 2009 09:44
by xabila
Hi all,
I was wondering if someone tried to convert a glade XML to a CEGUI layout XML.
Actually all my GUI are right now in glade, and i 'm going to port them to CEGUI, so if anyone has some experiences with this...

I don't know if all the GTK widgets are available in CEGUI, but it could be a cool feature.

Posted: Tue Mar 10, 2009 11:08
by CrazyEddie
Hi, and welcome :)

I was wondering if someone tried to convert a glade XML to a CEGUI layout XML.


I don't recall anyone having done this.

I don't know if all the GTK widgets are available in CEGUI,

I think most of the more basic elements are there, one thing that's definitely missing in CEGUI at the moment is the concept of layout containers.

but it could be a cool feature.

I completely agree ;)

CE.

Posted: Tue Mar 10, 2009 13:20
by xabila
Ok so i need to find by what i'm gonna change the LayoutContainer
Thanks

Posted: Sun Mar 22, 2009 12:28
by Pompei2
Just for your info: in gtk you have the layout containers to specify what gets where and what is resized how, in CEGUI it all goes with relative sizes and absolute sizes. You can say a button's x position is 10 pixels from the left and its width is 80% of the window for example. or you can say its right position is at 100% -10px of the window for example.

Hope this gives you a very quick introduction to how it is :)