The IWidgetAnimationService is used to provide common animation for widgets (i.e.: the "bouncing" effect seen in the Speed Widget when someone tweets). The interface is very simple:

    /// <summary>
    /// Provides common animation for widgets
    /// </summary>
    public interface IWidgetAnimationService
    {
        /// <summary>
        /// Starts the animation
        /// </summary>
        /// <param name="widget"></param>
        void Start(IWidget widget);

        /// <summary>
        /// Stops the animation
        /// </summary>
        /// <param name="widget"></param>
        void Stop(IWidget widget);
    }

Last edited Dec 2, 2009 at 2:57 PM by joj, version 4

Comments

No comments yet.