PDA

View Full Version : Fade in/out <textureonfocus>


djh_
2009-03-01, 15:45
At the moment I'm having to use visibility conditions and multiple controls to create list items that fade on focus. The same goes for textures. It'd be a whole lot easier if you could just tell the individual controls to fade the focus texture in and out. Possible?

Jezz_X
2009-03-01, 19:36
to be honest I don't understand the question maybe a screenshot example so we can see exactly where you mean ?

djh_
2009-03-01, 23:21
That was a pretty awful description, wasn't it. I'm not sure a screenshot would explain it any better. I'll try and put into better words:

When you create a button you have two textures, texturefocus and texturenofocus. Normally, the change between one texture and the other is instant; I want to make it so the focus texture fades rather than pops in.

Nuka1195
2009-03-01, 23:41
doesn't a conditional fade animation with Control.HasFocus(#) do that?

Jezz_X
2009-03-02, 03:29
ahh I get what you mean now :) Don't think its currently possible maybe jmarshall can expand the <fadetime> stuff he just added to the image control to expand to this (seems very worth while)

And Nuka that would fade the whole control not transition between the 2 images