public RestChordDrawingStrategy(Chord c, ChordBar b, ChordTuple t, IBounds bounds, VisualInfo v_info, IDelegate del) : base(c, b, t, bounds, v_info, del) { }
public DynamicChordMouseHandler(Chord c, IBounds b, GuiCommandExecutor e, IMouseDelegate del) : base(e, del, b) { chord = c; }
public void Add(Chord chord) { ModelCollection.Add(chord); ModelAdded?.Invoke(this, new ObjectAddedArgs(chord, this)); }
public void Remove(Chord chord) { ModelCollection.Remove(chord); ModelRemoved?.Invoke(this, new ObjectRemovedArgs(chord)); }
public AddChordToPartVal(Part p, Measure m, Chord c) { part = p; measure = m; chord = c; }
public bool chordMatchesFirst(Chord chord) { Chord other = (ChordNodes?.FirstOrDefault()?.BaseObject as Chord) ?? null; return((other == null) ? false : other.Equals(chord)); }
public ChangeChordLengthVal(Measure m, Chord c, Length l) { measure = m; chord = c; length = l; }
public AddChordToMeasureVal(Chord c, Measure m) { chord = c; measure = m; }
public RemoveChordFromMeasureVal(Measure m, Chord c) { measure = m; chord = c; }
public AddChordToMeasureCom(Measure m, Chord c) { measure = m; chord = c; }
public ChangeChordPositionCom(Chord c, int p) { chord = c; position = p; }
public AddRestChordToPartAtr(CommandSelections selection) { Part = selection.SelectedPart; Measure = genMeasure(selection); Chord = genChord(selection); }
public Chord genChord(CommandSelections selection) { var length = Length.createInstance(selection.SelectedLength, selection.TupletType); return(Chord.createInstance(selection.Position, Measure?.Position, length)); }