diff -r 874de6d84a2e -r b60e13ed75c8 src/FingersDance.Control.Screen/UserControlScreen.xaml.cs --- a/src/FingersDance.Control.Screen/UserControlScreen.xaml.cs Tue Nov 24 07:50:17 2009 +0100 +++ b/src/FingersDance.Control.Screen/UserControlScreen.xaml.cs Tue Nov 24 11:35:07 2009 +0100 @@ -173,13 +173,15 @@ String aId = annotNode.Attribute("id").Value; float begin = (float)annotNode.Attribute("begin"); float dur = (float)annotNode.Attribute("dur"); - String gt = annotNode.Element("gestureType").Value; + String[] gt = annotNode.Element("gestureType").Value.Split(new Char[] { ',' }); + List gtList = new List(); + gtList.AddRange(gt); String colorString = annotNode.Attribute("color").Value; // is type 0xRRGGBB Byte r = Convert.ToByte(colorString.Substring(2, 2), 16); Byte g = Convert.ToByte(colorString.Substring(4, 2), 16); Byte b = Convert.ToByte(colorString.Substring(6, 2), 16); Color c = Color.FromRgb(r, g, b); - Annotation Annotation = new Annotation(aId, begin, dur, gt, c); + Annotation Annotation = new Annotation(aId, begin, dur, gtList, c); la.Add(Annotation); Data.AddAnnotation(Annotation); }