Skip to content
Snippets Groups Projects
Johannes Marbach's avatar
Johannes Marbach authored
This commit inverts the background / foreground color of keys upon
clicking and tapping. Since this requires frequent updates of the
keyboard textures, they were converted to streaming access mode.
When clicking or tapping a key, its area is recreated inside the
surface (taking the selection state into account) and then copied
into the texture.

This is a stopgap towards closing #12.
ed903510
History