Пример #1
0
        public override void UpdateKeyframeMenu(KeyframeView kf)
        {
            base.UpdateKeyframeMenu(kf);

            //also update the value of the keyframe menu
            var item = (SvgValueWidget) KeyframeMenu.GetItem("Value");
            item.Value = (kf as ValueKeyframeView).Model.Value.Value;

            item = (SvgValueWidget) KeyframeMenu.GetItem("Ease");
            item.Value = (kf as ValueKeyframeView).Model.Ease.Value;
        }
Пример #2
0
        public override void UpdateKeyframeMenu(KeyframeView kf)
        {
            base.UpdateKeyframeMenu(kf);

            //also update the value of the keyframe menu
            //			var item = (SvgStringWidget) KeyframeMenu.GetItem("Value");
            //			item.Caption = (kf as StringKeyframeView).Model.Text.Value;
        }
Пример #3
0
 public virtual void UpdateKeyframeMenu(KeyframeView kf)
 {
     var item = (SvgValueWidget) KeyframeMenu.GetItem("Time");
     item.Value = kf.Model.Time.Value;
 }