Currently we are using the windowslook. It suits us fairly well. The one problem that we've had is that we have a specific look in mind for a "control panel" of buttons. These buttons ought to behave like buttons but we want to be able to do the following things visually:
1] Change the background color of the button (can't seem to change the background color of a WindowsLook button)... looking for multiple greyscale levels.
2] Have more than one foreground text color for the text displayed on the button. So there may be three words in the button and each one might be a different color.
What is the easiest way to achieve something along these lines?
What is best way to change look of button
Moderators: CEGUI MVP, CEGUI Team
there is no easy way to achieve this
1] Read the two falagard skinning tutorials in the tutorials section and play around with it a bit.
2] Ifyou know the count of (max) different colors you could create a statictext for each different color, as (a) child(s) of the button. If not, take a look at this thread, and read the WHOLE thread.

1] Read the two falagard skinning tutorials in the tutorials section and play around with it a bit.
2] Ifyou know the count of (max) different colors you could create a statictext for each different color, as (a) child(s) of the button. If not, take a look at this thread, and read the WHOLE thread.
Pompei2 wrote:there is no easy way to achieve this
1] Read the two falagard skinning tutorials in the tutorials section and play around with it a bit.
2] Ifyou know the count of (max) different colors you could create a statictext for each different color, as (a) child(s) of the button. If not, take a look at this thread, and read the WHOLE thread.
In general we will know the "max" color. I'm thinking that a statictext for each color might make sense. I also think we will take a hard look at the skinning tutorials. I see this as a good opportunity for us to learn to make our own scheme.
I've glanced through the link that you provided. Do you think the ldb approach is a good one? Is it compatible with the direction that cegui is going? It certainly looks easy to use.
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 4 guests