Пример #1
0
        /// <summary>
        /// Creates a new keyframe for the control on the selected frame.
        /// </summary>
        /// <param name="control"></param>
        public void CreateKeyFrame(GUIControl control)
        {
            if (CurrentAnimation == null)
            {
                return;
            }

            GUIAnimation targetSet = CurrentAnimation;

            // Now we have a target set.  See if this control is in the set, and if not, add it.
            CurrentAnimation.CreateKeyFrame(control, targetSet.Frame);
        }