SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-10-2010, 08:04 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Effect when content changes

I am having trouble figuring out how to apply an Effect widget to a UI element when it's contents change.

A simple example would be this :

I've got a table whose Cell calls RefreshArea("target") on FocusGained in order to update the information outside the table that is relative to the focused table item. This works fine.

However, I'd like the old info in "target" to fade out and the new info to fade in. None of the effect triggers seem to allow this. Visible Change / Shown / Hidden don't work because evidently the state of "target" doesn't change - it's 'Shown' the entire time. It just has different content that it is showing......

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #2  
Old 09-10-2010, 08:12 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by bialio View Post
I am having trouble figuring out how to apply an Effect widget to a UI element when it's contents change.

A simple example would be this :

I've got a table whose Cell calls RefreshArea("target") on FocusGained in order to update the information outside the table that is relative to the focused table item. This works fine.

However, I'd like the old info in "target" to fade out and the new info to fade in. None of the effect triggers seem to allow this. Visible Change / Shown / Hidden don't work because evidently the state of "target" doesn't change - it's 'Shown' the entire time. It just has different content that it is showing......

btl.

Why not just change the image widget Cross Fade duration that will achieve what you are wanting
Reply With Quote
  #3  
Old 09-10-2010, 08:14 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
If "target" was an image that would do the trick

But it's actually a second table

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #4  
Old 09-10-2010, 08:18 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by bialio View Post
If "target" was an image that would do the trick

But it's actually a second table

btl.
Right but those tables still have image or text widgets right?

If not the way I have done it is to set a attribute and fire an animation on the attribute and then another delayed animation on the same condition to fade it back in

so you would have
Code:
focused gained()
arrtibute = true

then on your other location

Code:
if attribute
conditional animation to fade it out say 500ms
conditional animation to fade back in with 500ms delay
or you could set the fade out to reversible on (true and false) and wait for the first to fire and then reset it and reverse it.

Of course the hard part comes in making sure you focus hasn't already changed again so you are not firing on top of one or another.
Reply With Quote
  #5  
Old 09-11-2010, 06:45 AM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
I'm sure I just don't understand effects correctly but for some reason the only way I was able to get effects like this to work was to use the Hidden/Shown triggers along with conditionally shown subpanels. That is, have an "if" widget with a boolean attribute that you manually switch before you refresh. The true and false branches have separate but identical panels, one containing the table and effects and the other with references to the same table and effects.
__________________
-Craig
Reply With Quote
  #6  
Old 09-11-2010, 07:55 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Yeah tha would work but is a bit overkill.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HAVA content - 16:9 content is letter and pillar boxed by sage dwalton22 SageTV Software 14 10-16-2007 08:57 AM
Strange Effect Frunobulax SageTV Software 0 07-31-2005 11:25 AM
Disabling visualization - Effect on TV? mobby SageTV Software 3 02-12-2005 10:24 AM


All times are GMT -6. The time now is 02:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.