Ejemplo n.º 1
0
 public RestChordDrawingStrategy(Chord c, ChordBar b, ChordTuple t, IBounds bounds, VisualInfo v_info, IDelegate del) : base(c, b, t, bounds, v_info, del)
 {
 }
Ejemplo n.º 2
0
 public DynamicChordMouseHandler(Chord c, IBounds b, GuiCommandExecutor e, IMouseDelegate del)
     : base(e, del, b)
 {
     chord = c;
 }
Ejemplo n.º 3
0
 public void Add(Chord chord)
 {
     ModelCollection.Add(chord);
     ModelAdded?.Invoke(this, new ObjectAddedArgs(chord, this));
 }
Ejemplo n.º 4
0
 public void Remove(Chord chord)
 {
     ModelCollection.Remove(chord);
     ModelRemoved?.Invoke(this, new ObjectRemovedArgs(chord));
 }
Ejemplo n.º 5
0
 public AddChordToPartVal(Part p, Measure m, Chord c)
 {
     part    = p;
     measure = m;
     chord   = c;
 }
Ejemplo n.º 6
0
        public bool chordMatchesFirst(Chord chord)
        {
            Chord other = (ChordNodes?.FirstOrDefault()?.BaseObject as Chord) ?? null;

            return((other == null) ? false : other.Equals(chord));
        }
Ejemplo n.º 7
0
 public ChangeChordLengthVal(Measure m, Chord c, Length l)
 {
     measure = m;
     chord   = c;
     length  = l;
 }
Ejemplo n.º 8
0
 public AddChordToMeasureVal(Chord c, Measure m)
 {
     chord   = c;
     measure = m;
 }
Ejemplo n.º 9
0
 public RemoveChordFromMeasureVal(Measure m, Chord c)
 {
     measure = m;
     chord   = c;
 }
Ejemplo n.º 10
0
 public AddChordToMeasureCom(Measure m, Chord c)
 {
     measure = m;
     chord   = c;
 }
Ejemplo n.º 11
0
 public ChangeChordPositionCom(Chord c, int p)
 {
     chord    = c;
     position = p;
 }
Ejemplo n.º 12
0
 public AddRestChordToPartAtr(CommandSelections selection)
 {
     Part    = selection.SelectedPart;
     Measure = genMeasure(selection);
     Chord   = genChord(selection);
 }
Ejemplo n.º 13
0
        public Chord genChord(CommandSelections selection)
        {
            var length = Length.createInstance(selection.SelectedLength, selection.TupletType);

            return(Chord.createInstance(selection.Position, Measure?.Position, length));
        }