Background Colors on TabContentPane and TabButtonPane

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

Background Colors on TabContentPane and TabButtonPane

Postby daves » Fri Apr 04, 2008 12:44

I want to be able to use a property called "BackgroundColours" on both the TabButtonPane and TabContentPane. Currently I can only adjust the alpha on these. This is not adequate for the level of configurability that I am trying to achieve.

How can I adjust the WindowsLook definitions of these two window types to allow me to specify a background color rect?

As a quick experiment I tried to add a <colurs topLeft... /> tag to the "normal" Section of the "Enabled" StateImagery. This did not change any colors. I noticed that the TabContentPane "normal" ImagerySection defines 3 FrameComponents, but it does not define an ImageryComponent... not sure if i need one.

Return to “Help”

Who is online

Users browsing this forum: No registered users and 7 guests