Exemplo n.º 1
0
 public void ValidateCurvesSelection()
 {
     if (!IsSelected()) //if clip is not selected, deselect the inline curve
     {
         SelectionManager.SelectInlineCurveEditor(null);
     }
 }
Exemplo n.º 2
0
 public override void Deselect()
 {
     SelectionManager.Remove(clip);
     if (inlineCurvesSelected)
     {
         SelectionManager.SelectInlineCurveEditor(null);
     }
 }
Exemplo n.º 3
0
 public override void Select()
 {
     zOrder = zOrderProvider.Next();
     SelectionManager.Add(clip);
     if (clipCurveEditor != null && SelectionManager.Count() == 1)
     {
         SelectionManager.SelectInlineCurveEditor(this);
     }
 }
 public override void Select()
 {
     MoveToTop();
     SelectionManager.Add(clip);
     if (clipCurveEditor != null && SelectionManager.Count() == 1)
     {
         SelectionManager.SelectInlineCurveEditor(this);
     }
 }
Exemplo n.º 5
0
 static void SelectFromCurveOwner(IClipCurveEditorOwner curveOwner)
 {
     if (curveOwner.clipCurveEditor == null)
     {
         SelectionManager.SelectInlineCurveEditor(null);
     }
     else if (!curveOwner.inlineCurvesSelected && SelectionManager.Count() == 1)
     {
         SelectionManager.SelectInlineCurveEditor(curveOwner);
     }
 }
Exemplo n.º 6
0
 public void SelectCurves()
 {
     SelectionManager.SelectOnly(clip);
     SelectionManager.SelectInlineCurveEditor(this);
 }