SageTV Community  

Go Back   SageTV Community > SageTV BETA Release Products > SageTV Beta Test Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-24-2008, 06:15 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Question Question about v6.3.7RC Release Notes

Quote:
Studio Updates

3. Added interruptable animation support (through an optional parameter to AnimateVariable, AnimateTransition and AnimateDelayed)
Is there any more information available regarding the above item from the release notes? Is there an example of the new syntax and how this would be used anywhere?

Also, I've used AnimateDelayed and AnimateTransition already, but what does AnimateVariable do and what is it's syntax?

Thanks.

Aloha,
Mike
Reply With Quote
  #2  
Old 01-24-2008, 06:27 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Just add another 'true' parameter to the end of the call to allow the animation to be interrupted -- I use it for UI animations that should stop if the user presses another button (causing focus to change, etc), but there may not be any examples in the beta STV yet.

If no other info has been posted later, I'll add more info, but we just lost power, so I guess I'll need to shut down my computers for a bit...

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #3  
Old 01-24-2008, 09:45 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
OK, power's back on, so...

I use interruptible animations when updating some portion of the UI and I don't want to force the user to wait for the animation to finish before anything else can be done. If the user presses another button, the animation will jump to its final state & the UI will respond to the new command right away.

By default, the animations are not interruptible, but adding the additional 'true' parameter as I mentioned above makes the API calls listed in the release notes interruptible.

The new AnimateVariable() call uses these parameters:

AnimateVariable(WidgetName, LayerName, VarName, VarValue, AnimationName, Duration, StartDelay)

The new params:
VarName is the name of the variable to be matched for the WidgetName to be animated.
VarValue is the value that VarName has to match for WidgetName to be animated.

You could use this to animate one or more widgets that have the same name. I animated the focused item in a table by using "Focused" as the variable name & 'true' as the value to match.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #4  
Old 01-25-2008, 01:57 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
The online API docs have now been updated with this info as well.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #5  
Old 01-25-2008, 02:13 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Thank you both!

I'm having too much fun with this stuff.

Aloha,
Mike
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
6.1.8 release notes? LehighBri SageTV Beta Test Software 2 04-06-2007 05:02 AM
v5 release notes Opus4 SageTV Beta Test Software 21 04-26-2006 12:26 PM
SageTV V4.1.14 Release Candidate Is Available Narflex SageTV Beta Test Software 98 04-24-2006 06:59 PM
STV: Meekell Beta 0.3 Release (April 3, 2005) meekell SageTV Customizations 287 08-01-2005 08:42 PM


All times are GMT -6. The time now is 07:21 PM.


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