public void SetBeatSegment(BeatSegment summary) { TimePanel.SetPosition(this, TimeSpan.FromTicks(summary.Position)); TimePanel.SetDuration(this, TimeSpan.FromTicks(summary.Duration)); BeatLine.SetBeatSegment(summary); }
public BeatSegment GetBeatSegment() { BeatSegment summary = BeatLine.GetBeatSegment(); summary.Duration = TimePanel.GetDuration(this).Ticks; summary.Position = TimePanel.GetPosition(this).Ticks; return(summary); }
public IEnumerable <TimeSpan> GetBeats() { return(BeatLine.GetBeats()); }
public void SetBeatDuration(TimeSpan duration) { BeatLine.SetBeatDuration(duration); }
public void SnapDuration() { BeatLine.Snap(); }