diff -r 0fd2b41ab402 -r e940ca798fe3 src/FingersDance.Views/TimelineAnnotationView.xaml.cs --- a/src/FingersDance.Views/TimelineAnnotationView.xaml.cs Fri Oct 16 09:02:04 2009 +0200 +++ b/src/FingersDance.Views/TimelineAnnotationView.xaml.cs Fri Oct 16 15:56:09 2009 +0200 @@ -55,14 +55,14 @@ return 1.0; } } - + public class ColorConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { - UInt32 argb = (UInt32)value; - Color c = Color.FromArgb((Byte)((argb >> 24) & 0xFF), (Byte)((argb >> 16) & 0xFF), (Byte)((argb >> 8) & 0xFF), (Byte)(argb & 0xFF)); - SolidColorBrush scb = new SolidColorBrush(c); + //UInt32 argb = (UInt32)value; + //Color c = Color.FromArgb((Byte)((argb >> 24) & 0xFF), (Byte)((argb >> 16) & 0xFF), (Byte)((argb >> 8) & 0xFF), (Byte)(argb & 0xFF)); + SolidColorBrush scb = new SolidColorBrush((Color)value); return scb; } public object ConvertBack(object value, Type targetTypes, object parameter, System.Globalization.CultureInfo culture)