Some time ago I started creating this decorator that takes an image and splits it in five parts (default, normal, disabled, clicked, over (I’m not sure about the order)) and creates an animation between the states of the control. This control also is able to strech part of the image so that you can stretch buttons with round edges.
I’m leaving the code here so you can explore a bit, it is not very good and not very well implemented yet, I hope I can finish it by the end of the month and repost again. I just wanted start sharing some stuff. 🙂