I'm looking for the documentation that references all the properties for all the window types. I cant seem to find where something such as the NormalTextColour property for the PushButton window.
I can find documentation for the CEGUI::EditboxProperties::NormalTextColour
(see http://www.cegui.org.uk/api_reference/c ... perty.html)
but this list seems to be incomplete.
I would have thought that there would be something such as a
CEGUI::PushButtonProperties::NormalTextColour.
What am I missing?
[SOLVED]Can't find Button::NormalTextColour property in docs
Moderators: CEGUI MVP, CEGUI Team
[SOLVED]Can't find Button::NormalTextColour property in docs
Last edited by daves on Wed May 23, 2007 19:16, edited 1 time in total.
Yes, there is. Take a look at the FAQ point 3.6, especially the last sentence, first link
Read this thread for the Property Finder tool and how to integrate new properties (such as when you create your own widgets through the Falagard mappings).
Ok. Thanks to both of you for your responses. I read through the various links you pointed me to. I still am confused about something. Am I to infer that the "Button" window does not show up in the standard documentation (see http://www.cegui.org.uk/api_reference/c ... perty.html) because it is a "custom widget"?
If this is the case then things are starting to make sense to me.
Also I looked at the list of Taharez properties (found here http://www.cegui.org.uk/wiki/index.php/SetProperty) and though the list seems to be complete and "per window type" the property descriptions do not all include a description of the format of the value (though there are one or two properties that discuss the form of the value). For example under the format for the NormalTextColour value I would exepct to see something that says this value is of the form "aarrggbb".
Are these format descriptions available for all of the properties?
If this is the case then things are starting to make sense to me.
Also I looked at the list of Taharez properties (found here http://www.cegui.org.uk/wiki/index.php/SetProperty) and though the list seems to be complete and "per window type" the property descriptions do not all include a description of the format of the value (though there are one or two properties that discuss the form of the value). For example under the format for the NormalTextColour value I would exepct to see something that says this value is of the form "aarrggbb".
Are these format descriptions available for all of the properties?
Now that I've dug a little bit more I'll venture to answer my own question.
It looks like the "looknfeel" file, and in particular the PropertyDefinition tag defines the format of the value.
To the extent that there is also some documentation somewhere this would be great, but this seems like a reasonable place to look.
It looks like the "looknfeel" file, and in particular the PropertyDefinition tag defines the format of the value.
To the extent that there is also some documentation somewhere this would be great, but this seems like a reasonable place to look.
Rackle wrote:Read this thread for the Property Finder tool and how to integrate new properties (such as when you create your own widgets through the Falagard mappings).
WOWO!!!!
I tried the levia tutorial and it worked out of the box. The extensible nature of cegui is awesome. The more I use this system the more I love it.
So now we are jumping in to creating our own scheme and look and feel (will seed it with windowslook) and intend to start creating custom widgets (the first being a stateful switch).
Are there any links in particular (aside from the levia wiki tutorial) that you guys would suggest digging through to understand various concepts within the custom widget mechanism? I'm thinking things like "callbacks into the application" and handling of custom properties.
My going in assumption is that I'll just study the implementations found within the default elements (e.g. slider, checkbox, etc).
At any rate thanks for all the prompt feedback. You guys are great.
Who is online
Users browsing this forum: No registered users and 19 guests
