What (if any?) properties of look and feel can be changed programmatically ? Can I change the label color on a pushbutton at runtime ? How would I do that ?
CEGUI 0.7.7
Modifying L&F programmatically ?
Moderators: CEGUI MVP, CEGUI Team
Re: Modifying L&F programmatically ?
All of LNF (AFAIK) can be changed at runtime. You don't need to change the LNF to make colour changing happen though. Use case of changing the LNF would be something along the lines of making a looknfeel visual editor.
For changeable colour you would create a <PropertyDefinition> in the LNF, define a Colour property with nam XYZ and then use Property XYZ for the colour of something. Changing the property via setProperty will change the colour. There are examples of this in the stock LNF.
For changeable colour you would create a <PropertyDefinition> in the LNF, define a Colour property with nam XYZ and then use Property XYZ for the colour of something. Changing the property via setProperty will change the colour. There are examples of this in the stock LNF.
Re: Modifying L&F programmatically ?
Thanks!
Can each and every of those named properties be animated as well?
Can each and every of those named properties be animated as well?
Re: Modifying L&F programmatically ?
I'll keep that in mind. Thanks.
Who is online
Users browsing this forum: No registered users and 15 guests