On my screen I have many custom pushbuttons that I made using different images for each state of the button. I noticed that when I disable said button, it disapears completly from the screen but when I disable normal buttons, it becomes blacker which is the effect I want to achieve with my custom buttons.
Is there an easy way to do this or do I have to change code around in the pushbutton class?
Thanks
Disabling custom pushbuttons
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Disabling custom pushbuttons
Set a custom image for the disabled state (PushButton::setDisabledImage, IIRC). There are no per-state colour settings - from 0.4.0 onwards we will be pushing the "Falagard" xml skinning which allows you to do this kind of customisation much more easily.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 7 guests