Page 1 of 1

celayouteditor - can't find some properties

Posted: Sun Feb 11, 2007 15:31
by Arcanor
Is there a way to use additional window properties in celayouteditor, for example MousePassThroughEnabled? It doesn't appear in the listbox for the window that's selected, although I know this is available in CEGUI 0.50b.

Posted: Sun Feb 11, 2007 20:54
by scriptkid
Hi,

yeah this is possible.. if you have the sources ;-)

The list of supported properties should be updated indeed. If you have the sources and want to give it a try, search for this method:
DialogMain::CreateSupportedPropertyMap() to add <property, type> pairs.

Good luck!

Posted: Fri Jun 01, 2007 13:33
by ppl
I subdmited a patch which allow you to modify those properties from the INI file.

You can apply the patch, delete your ini file, recompile and run CELayoutEditor. Now open the INI file for editing and change the SupportedProperties value.

For any properties, you can always specify the type to be text.

Posted: Fri Jun 01, 2007 18:39
by scriptkid
Hey man, this is a nice patch, thanks! I'll see if i can add it to SVN soon :)

Posted: Sun Jun 10, 2007 10:25
by scriptkid
Both in SVN and a "0.5c" release:
http://sourceforge.net/project/showfile ... _id=194684

Thanks again :)

Posted: Mon Jun 11, 2007 02:04
by ppl
Heya scriptkid,

I also did a patch to list all the images available. So you can have a combo box listing the available images instead of having the image properties as text.

I added an option to the ini file for a user-provided list of image set names to ignore. Those image sets will not be listed in the drop down.

I'm also using a very simple heuristic to exclude image sets created by fonts. The idea is to have the user only see the image set available for his current layout. It's a very simple feature for now.

Later,
ppl

Posted: Mon Jun 11, 2007 08:16
by scriptkid
Okay, this looks nice as well :) Thanks!