Page 1 of 1

Disabling custom pushbuttons

Posted: Wed Aug 17, 2005 16:48
by J_A_X
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

Re: Disabling custom pushbuttons

Posted: Thu Aug 18, 2005 13:26
by CrazyEddie
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.