cocos2d/cocos2d-x — pull request #2414 by edbartley (2013-04-19 17:45:14+00:00)
Title: ccMenuItem* Class Additions

Update CCMenuItem* classes to provide optional PressSelector and optional ReleaseSelector in addition to the usual ActivateSelector. This allows the developer more control: for example to play an onButtonPressed sound as well as an onButtonReleased sound.

Backward compatibility is maintained. The newly added create(...) and init*(...) functions should be self explanatory and self documenting.