added event callback for the draw process
Merge pull request #60 from cbschuld/master

Added: An event callback for onDraw