CELayoutEditor - Dynamic Property Finder?

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

CELayoutEditor - Dynamic Property Finder?

Postby Jamarr » Tue Nov 11, 2008 16:42

So we already have some code up on the Wiki to locate properties for any widget via a PropertyFinder here: http://www.cegui.org.uk/wiki/index.php/PropertyFinder

However, the CELayoutEditor uses a fairly simple approach of just listing a bunch of properties (and their type) to look for in it's ini file. The problem with this is that a lot of properties go unnoticed because this list is far from complete. Instead, why not just have the CELayoutEditor use code based on the PropertyFinder to dynamically create a list of all properties available for the selected scheme, and use that list to populate the property window for the current element? This has the obvious benefit of making the CELayoutEditor far more robust than it currently is regarding properties.

This idea basically came about because of this thread here: http://www.cegui.org.uk/phpBB2/viewtopic.php?t=3665

The StaticText control's VertScrollbar and HorzScrollbar properties are 'off' by default. Because this property is not available in the CELayoutEditor (by default), nor are properties for falagard elements listed in the falagard docs, it makes it difficult for users to track down problems like this without having to ask for help on the forums.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Thu Mar 19, 2009 10:05

Check out my released snake game using Cegui!


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 4 guests