acerbetti/ACEDrawingView — pull request #18 by piperchester (2014-01-23 20:15:33+00:00)
Title: Refactor switch into a single assignment.

ToolType is a typedef enum. The compiler will recognize it as an int can be assigned from buttonIndex.