diff -r c0661ecf943e -r 05aba5def1fc src/FingersDance.Data/Cutting.cs --- a/src/FingersDance.Data/Cutting.cs Tue Nov 24 12:57:18 2009 +0100 +++ b/src/FingersDance.Data/Cutting.cs Tue Nov 24 22:08:57 2009 +0100 @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; +using System.Windows.Media; namespace FingersDance.Data { @@ -9,8 +10,16 @@ { private String _id; private List _annotList; - private string _title; + private String _title; + private Color _color; + public Cutting(String idPar, String titlePar, List annotListPar, Color col) + { + this._id = idPar; + this._title = titlePar; + this._annotList = annotListPar; + this._color = col; + } public Cutting(String idPar, String titlePar, List annotListPar) { this._id = idPar; @@ -48,6 +57,16 @@ _annotList = value; } } + public Color Color + { + get { return _color; } + set + { + if (value == _color) + return; + _color = value; + } + } } }