src/FingersDance.Data/Annotation.cs
changeset 160 e940ca798fe3
parent 150 569925b65604
child 182 25b49d4f1635
--- a/src/FingersDance.Data/Annotation.cs	Fri Oct 16 09:02:04 2009 +0200
+++ b/src/FingersDance.Data/Annotation.cs	Fri Oct 16 15:56:09 2009 +0200
@@ -2,6 +2,7 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
+using System.Windows.Media;
 
 namespace FingersDance.Data
 {
@@ -40,11 +41,11 @@
         private float _tcBegin;
         private float _dur;
         private string _gestureType;
-        private UInt32 _color;
+        private Color _color;
 
         //public event EventHandler<AnnotationAddedEventArg> AnnotationAdded;
 
-        public Annotation(float tcBeginPar, float durPar, string gesturePar, UInt32 colorPar)
+        public Annotation(float tcBeginPar, float durPar, string gesturePar, Color colorPar)
         {
             this._tcBegin = tcBeginPar;
             this._dur = durPar;
@@ -85,7 +86,7 @@
                 _gestureType = value;
             }
         }
-        public UInt32 Color
+        public Color Color
         {
             get { return _color; }
             set