2012-06-14 05:19:13 +08:00
|
|
|
#ifndef _TESTHEADERLAYER_H_
|
|
|
|
#define _TESTHEADERLAYER_H_
|
|
|
|
|
|
|
|
#include "cocos2d.h"
|
2012-06-14 06:25:59 +08:00
|
|
|
#include "extensions/CCBReader/CCNodeLoader.h"
|
|
|
|
#include "extensions/CCBReader/CCBSelectorResolver.h"
|
2012-06-14 05:19:13 +08:00
|
|
|
|
|
|
|
class TestHeaderLayer : public cocos2d::extension::CCBSelectorResolver, public cocos2d::CCLayer {
|
|
|
|
public:
|
|
|
|
static TestHeaderLayer * node();
|
|
|
|
|
2012-06-14 15:01:01 +08:00
|
|
|
virtual cocos2d::SEL_MenuHandler onResolveCCBCCMenuSelector(cocos2d::CCObject * pTarget, cocos2d::CCString * pSelectorName);
|
|
|
|
virtual cocos2d::extension::SEL_CCControlHandler onResolveCCBCCControlSelector(cocos2d::CCObject * pTarget, cocos2d::CCString * pSelectorName);
|
2012-06-14 05:19:13 +08:00
|
|
|
|
|
|
|
virtual void onBackClicked(cocos2d::CCObject * pSender);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|