Self-defined cocos2dx widget