cocos2d/cocos2d-iphone — pull request #283 by sdabet (2013-01-22 19:11:23+00:00)
Title: Customizable touchArea for CCMenuItem

- Added 'touchArea' property to CCMenuItem, which is initialized to the item's outside box in 'setContentSize'
- Use 'touchArea' in 'itemForMouseEvent' and 'itemForTouch' in CCMenu (instead of 'rect')
- Removed 'rect' from CCMenuItem
- Added corresponding tests