From fa91b613871c254ed0d632dd90f026518ffd5e2e Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Tue, 22 Sep 2015 23:38:23 +0200 Subject: [PATCH] Improved example to be even more fancy --- Examples/SimpleDevTest/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/SimpleDevTest/Program.cs b/Examples/SimpleDevTest/Program.cs index 782d4a1..b3685b2 100644 --- a/Examples/SimpleDevTest/Program.cs +++ b/Examples/SimpleDevTest/Program.cs @@ -95,8 +95,8 @@ namespace SimpleDevTest Thread.Sleep(200); } - // Set keyboard 'background' to something neutral - keyboard.Brush = new SolidColorBrush(Color.Black); + // Set keyboard 'background' to black with low alpha (this will add a nice "fade" effect instead of just clearing the keyboard every frame) + keyboard.Brush = new SolidColorBrush(Color.FromArgb(25, 0, 0, 0)); // Define how many points we have const int NUM_POINTS = 6;