client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/CustomableIndexElementVM.cs
--- a/client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/CustomableIndexElementVM.cs Tue Dec 22 16:22:22 2009 +0100
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/CustomableIndexElementVM.cs Mon Jan 04 10:29:39 2010 +0100
@@ -77,17 +77,24 @@
}
- private VideoChapterType _chapter;
- public VideoChapterType Chapter
+ private Color _chapterColor;
+ public Color ChapterColor
{
get
{
- return _segmentIndex.Chapter.Type;
+ return _chapterColor;
}
set
{
- _chapter = value;
- OnPropertyChanged("Chapter");
+ _chapterColor = value;
+ OnPropertyChanged("ChapterColor");
+ }
+ }
+ public SolidColorBrush ChapterSolidColorBrush
+ {
+ get
+ {
+ return new SolidColorBrush(this.ChapterColor);
}
}