How to add fade-in/fade-out between window transitions?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Cospefogo Offline
Junior Member
Posts: 20
Joined: Apr 2007
Reputation: 0
Post: #1
Hey there, guys!

How can I add fade transition between windows?
For example:

From home to My Programs --- Fade IN of my programs.
From my programs back to home --- Fade OUT of my programs.

I found this:
<animation effect="fade" time="400">WindowOpen</animation>
<animation effect="fade" time="700" delay="200">WindowClose</animation>

However I don't know WHERE in the MyPrograms.xml this code should be used (assuming it is possible to be used, ha ha)

Thanks!
Cospefogo.
find quote
Cospefogo Offline
Junior Member
Posts: 20
Joined: Apr 2007
Reputation: 0
Post: #2
Aah...
What a relief.

Just found this:
http://wiki.xbmc.org/index.php?title=Ani..._Your_Skin
I hope to be able to create something nice starting from this!

Cheers,
Cospefogo.
find quote
Waffa Offline
Posting Freak
Posts: 1,163
Joined: May 2008
Reputation: 7
Location: Netherlands
Post: #3
Here another link you might like Smile
http://wiki.xbmc.org/?title=Skinning_Manual

And if you want examples look in skin codes.
find quote
Cospefogo Offline
Junior Member
Posts: 20
Joined: Apr 2007
Reputation: 0
Post: #4
Waffa Wrote:Here another link you might like Smile
http://wiki.xbmc.org/?title=Skinning_Manual

And if you want examples look in skin codes.

Yeah Waffa,
Thanks for the link.
Very useful.

Sometimes people go by impulse asking out loud "how to do this, how to do that", and only moments later they realize that the omnipresent google has most of the answers already available.

NodNodNod

Cheers,
Cospefogo.
find quote
wyrm Offline
Skilled Skinner
Posts: 942
Joined: Nov 2007
Reputation: 10
Location: Perth, Australia (GMT +8)
Post: #5
Cospefogo Wrote:Hey there, guys!

How can I add fade transition between windows?
For example:

From home to My Programs --- Fade IN of my programs.
From my programs back to home --- Fade OUT of my programs.

I found this:
<animation effect="fade" time="400">WindowOpen</animation>
<animation effect="fade" time="700" delay="200">WindowClose</animation>

However I don't know WHERE in the MyPrograms.xml this code should be used (assuming it is possible to be used, ha ha)

Thanks!
Cospefogo.

Cospefogo,

Waffa was right, check the skin manual, but if you check thru the skin you will see examples of this already.

That said, it's on my list of things to do. Will be adding this sort of thing back into the skin as I notice it's missing. Currently giving the skin a bit of a polish to remove hard coded colours and strings and tightening up on screen transitions.

My advise is to back up each file that you play with and just cut sick. It was pretty well the way I started with the skinning lark, and things just sort of grew from there. Have fun.

Wyrm (xTV SAF)

When postings problems, please provide build details. If required a FULL debug log can now be submitted from the skin in settings->appearance->skin->settings>support. Ensure debug logging has been set in settings->system->debugging (or from the support menu). FAQ's located at :- http://wiki.xbmc.org/index.php?title=Add-on:XTV-SAF
find quote