Hello, i have a simple question which i believe has a simple answer.
Im looking into chaning the apparence of a button, im setting all the image states with some other images and is working ok, only that the default imagery is not dissapearing. I know there was a method which told not to show the default imagery but in 0.6 which im using there isnt any part of the PushButton class.
Does anyone know if there is such a mehtod or how to hide the default button imagery?
Cant hide default push button imagery
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
this facility was removed from the code when we moved to the WindowRenderer approach a few years back. It's possible to add it back within the looknfeel definition by using a <PropertyDefinition> to define a property that will be set as a boolean, say "UseDefaultImagery", and then use this in the controlProperty attribute in the <Section> specifications within the <StateImagery> <Layer>definitions for the parts you want controlled by the property setting.
HTH
CE.
this facility was removed from the code when we moved to the WindowRenderer approach a few years back. It's possible to add it back within the looknfeel definition by using a <PropertyDefinition> to define a property that will be set as a boolean, say "UseDefaultImagery", and then use this in the controlProperty attribute in the <Section> specifications within the <StateImagery> <Layer>definitions for the parts you want controlled by the property setting.
HTH
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 2 guests