These are chat archives for CoraleStudios/Colore
Hey guys, I was just wondering how I would go about using Colore to make a wipe-style transition between 2 static colors? My application currently sets different color states using .SetAll() to change the colour. What I was wanting to do is add a transition so that when my app changes the color state the new color transitions from the left of the keyboard to the right overwriting the old color as it goes and then staying static when it reaches the end.
I've been looking throught the Colore documentation and I think the .SetCustom() function within a for loop would do this, but I'm really stuck on how to implement .SetCustom() and key rows using Colore. Could anyone give me some pointers?
I was finally able to get the chance to try out this code you guys sent, I really appreciate it guys.
It doesn't seem to be working though :/
I've integrated the following:
for (uint c = 0; c < Constants.MaxColumns; c++)
for (uint r = 0; r < Constants.MaxRows; r++)
Keyboard.Instance[r, c] = Corale.Colore.Core.Color.FromSystemColor(col);