1
0
mirror of https://github.com/DarthAffe/CUE.NET.git synced 2025-12-13 00:58:31 +00:00

Improved example to be even more fancy

This commit is contained in:
Darth Affe 2015-09-22 23:38:23 +02:00
parent 0be69b03c7
commit fa91b61387

View File

@ -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;