Exemple #1
0
        public void SetBeatSegment(BeatSegment summary)
        {
            TimePanel.SetPosition(this, TimeSpan.FromTicks(summary.Position));
            TimePanel.SetDuration(this, TimeSpan.FromTicks(summary.Duration));

            BeatLine.SetBeatSegment(summary);
        }
Exemple #2
0
        public BeatSegment GetBeatSegment()
        {
            BeatSegment summary = BeatLine.GetBeatSegment();

            summary.Duration = TimePanel.GetDuration(this).Ticks;
            summary.Position = TimePanel.GetPosition(this).Ticks;

            return(summary);
        }
Exemple #3
0
 public IEnumerable <TimeSpan> GetBeats()
 {
     return(BeatLine.GetBeats());
 }
Exemple #4
0
 public void SetBeatDuration(TimeSpan duration)
 {
     BeatLine.SetBeatDuration(duration);
 }
Exemple #5
0
 public void SnapDuration()
 {
     BeatLine.Snap();
 }