A simple drawing application in SDL