diff -r a9ebacd6c089 -r fda26bfcabef middleware/Debug/DebugWindow.xaml.cs --- a/middleware/Debug/DebugWindow.xaml.cs Wed Apr 04 10:51:21 2012 +0200 +++ b/middleware/Debug/DebugWindow.xaml.cs Thu Apr 05 15:54:44 2012 +0200 @@ -639,6 +639,14 @@ break; case "PULL-BOTH": bitmap = (Bitmap)rm.GetObject("pull_both"); break; + case "WAVE": bitmap = (Bitmap)rm.GetObject("wave"); + break; + case "BEND": bitmap = (Bitmap)rm.GetObject("bend"); + break; + case "CROSS": bitmap = (Bitmap)rm.GetObject("cross"); + break; + case "KNEE-UP": bitmap = (Bitmap)rm.GetObject("knee_up"); + break; } Gestures.Source = CreateBitmapSourceFromBitmap(bitmap); } @@ -887,5 +895,83 @@ { return ParamMenu; } + + public void onR0(bool b) + { + if(b) + R0.Fill = System.Windows.Media.Brushes.Blue; + else + R0.Fill = System.Windows.Media.Brushes.DarkGray; + } + public void onR1(bool b) + { + if (b) + R1.Fill = System.Windows.Media.Brushes.Blue; + else + R1.Fill = System.Windows.Media.Brushes.DarkGray; + } + public void onR2(bool b) + { + if (b) + R2.Fill = System.Windows.Media.Brushes.Blue; + else + R2.Fill = System.Windows.Media.Brushes.DarkGray; + } + public void onR3(bool b) + { + if (b) + R3.Fill = System.Windows.Media.Brushes.Blue; + else + R3.Fill = System.Windows.Media.Brushes.DarkGray; + } + public void onR4(bool b) + { + if (b) + R4.Fill = System.Windows.Media.Brushes.Blue; + else + R4.Fill = System.Windows.Media.Brushes.DarkGray; + } + public void onR5(bool b) + { + if (b) + R5.Fill = System.Windows.Media.Brushes.Blue; + else + R5.Fill = System.Windows.Media.Brushes.DarkGray; + } + public void onR6(bool b) + { + if (b) + R6.Fill = System.Windows.Media.Brushes.Blue; + else + R6.Fill = System.Windows.Media.Brushes.DarkGray; + } + public void onR7(bool b) + { + if (b) + R7.Fill = System.Windows.Media.Brushes.Blue; + else + R7.Fill = System.Windows.Media.Brushes.DarkGray; + } + public void onR8(bool b) + { + if (b) + R8.Fill = System.Windows.Media.Brushes.Blue; + else + R8.Fill = System.Windows.Media.Brushes.DarkGray; + } + public void onR9(bool b) + { + if (b) + R9.Fill = System.Windows.Media.Brushes.Blue; + else + R9.Fill = System.Windows.Media.Brushes.DarkGray; + } + public void onR10(bool b) + { + if (b) + R10.Fill = System.Windows.Media.Brushes.Blue; + else + R10.Fill = System.Windows.Media.Brushes.DarkGray; + } } }