equal
deleted
inserted
replaced
1 using System; |
1 using System; |
2 using System.Collections.Generic; |
2 using System.Collections.Generic; |
3 using System.Linq; |
3 using System.Linq; |
4 using System.Text; |
4 using System.Text; |
|
5 using System.Windows.Media; |
5 |
6 |
6 using FingersDance.Data; |
7 using FingersDance.Data; |
7 |
8 |
8 namespace FingersDance.ViewModels |
9 namespace FingersDance.ViewModels |
9 { |
10 { |
79 { |
80 { |
80 _annotList = value; |
81 _annotList = value; |
81 base.OnPropertyChanged("AnnotList"); |
82 base.OnPropertyChanged("AnnotList"); |
82 } |
83 } |
83 } |
84 } |
|
85 public Color Color |
|
86 { |
|
87 get { return cut.Color; } |
|
88 set |
|
89 { |
|
90 if (value == cut.Color) |
|
91 return; |
|
92 cut.Color = value; |
|
93 base.OnPropertyChanged("Title"); |
|
94 } |
|
95 } |
84 |
96 |
85 public void setListFromAnnotations(List<Annotation> annotList, float annotWidth, Double scaleX) |
97 public void setListFromAnnotations(List<Annotation> annotList, float annotWidth, Double scaleX) |
86 { |
98 { |
87 |
99 |
88 this._annotList = new List<AnnotationViewModel>(); |
100 this._annotList = new List<AnnotationViewModel>(); |