[Clam-devel] ControlPiano

David García Garzón dgarcia at iua.upf.edu
Tue Jun 9 15:06:19 PDT 2009


Hernan, i just updated the ControlPiano to simplify the key picking code. I 
guess that the problem of changing the when by dragging can be easily solved 
by:
* On press, keep the pressed key as state of the widget, and grabMouse()
* On move, release the pressed key if changed and press the new one
* On release, release any pressed key and releaseMouse()

David.






More information about the clam-devel mailing list