Page 1 of 1

patch for Tab and Falagard support in CELayoutEditor

Posted: Thu Mar 16, 2006 19:55
by tuan kuranes
Hi,

I needed tab support in CElayoutEditor, and didn't find it, and it doesn't seems to exists AFAIK.

So I added it, you can switch tab in the editor, and all appears. you can select object inside tabs in the Diaolog Tree view and it makes the tab appears if it was inside an hidden tab.

So here's a zip containing source and solution, added a vc8 solution too, but no binaries there :

http://tuan.kuranes.free.fr/CELayoutEditor.zip

(you still need the CELayoutEditor base installation (txt, datafiles, etc..))

I would have submitted a patch but sourceforge cvs is non-usable now here. I can try to submit one later, if no one applies it before.

Great Gui library and Editor combination, very useful, Thanks !

Posted: Thu Mar 16, 2006 21:26
by tuan kuranes
Updated to support "Falagard" skins.

now Add window works with MartiSkin, vanilla, etc...
(alias support for standard skins also added.)

Same zip as above.

Now that I've all I need, I'll stop there and make my first cegui App YAOMV
(aka "Yet Another Ogre Mesh Viewer")

Posted: Fri Mar 17, 2006 07:53
by tuan kuranes

Posted: Fri Mar 17, 2006 09:39
by scriptkid
Hi :-)

Thanks for the patch! Tab support is a cool addition. However is it true that you only look and edit them? Because when i press "Add window" on a "Tab control", i still get the "does not accept children" message. Or does it work differently?

One thing though: Dalfy and i are currently re-factoring the AddWindow dialog ourselves, so it will fully dynamic. (No need to the SupportedLooks anymore). But i will look at your "alias loop", to see what that does exactly and how/if we can use it.

Especially the latter makes me realize again that we need to be more public about upcoming changes ;-)

Thanks and good luck with your viewer! :-)

Posted: Fri Mar 17, 2006 09:58
by tuan kuranes
Because when i press "Add window" on a "Tab control", i still get the "does not accept children" message. Or does it work differently?


Oups, was meaning we can add children to a Tab.
Not adding new Tabs, sorry.

I didn't test that, and I may even need It.
So if it's not planned in 1.5, I would add that...

Especially the latter makes me realize again that we need to be more public about upcoming changes


True, I searched on forums but didn't find anything on my additions, therefore I did them...

A 1.5 features/bugs/enhancemnts list Thread would be interesting.

Posted: Mon Jul 24, 2006 14:55
by scriptkid
Hi tuan,

it's been a while, but i am currently adding tab support to the layout editor. I can mostly (still have to test it) copy & paste your code, and will add the ability for adding tab pages myself.

Thanks again :-)
Patrick.