self-defined cocos2dx widget