[SOLVED]Can't find Button::NormalTextColour property in docs

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

daves
Home away from home
Home away from home
Posts: 253
Joined: Thu Feb 02, 2006 20:12

[SOLVED]Can't find Button::NormalTextColour property in docs

Postby daves » Tue May 22, 2007 17:16

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?
Last edited by daves on Wed May 23, 2007 19:16, edited 1 time in total.

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Tue May 22, 2007 20:49

Yes, there is. Take a look at the FAQ point 3.6, especially the last sentence, first link

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Tue May 22, 2007 20:57

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).

daves
Home away from home
Home away from home
Posts: 253
Joined: Thu Feb 02, 2006 20:12

Postby daves » Wed May 23, 2007 01:06

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?

daves
Home away from home
Home away from home
Posts: 253
Joined: Thu Feb 02, 2006 20:12

Postby daves » Wed May 23, 2007 16:16

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.

daves
Home away from home
Home away from home
Posts: 253
Joined: Thu Feb 02, 2006 20:12

Postby daves » Wed May 23, 2007 16:22

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.

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Wed May 23, 2007 16:56

The properties are defined in the look'n'feel files. For these you can take a look at the Falagard Skinning Tutorials (see the "Tutorials" section of the homepage) I found them pretty good and they were enough to learn it ! After this, the TaharezLook.looknfeel is a good ressource

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Wed May 23, 2007 17:07

Yup, go through every section of the Wiki. Snippets are mostly code but nonetheless useful. The other sections are more textual, which is what I think you are looking for.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 19 guests