2012-06-14 05:19:13 +08:00
|
|
|
#include "TestHeaderLayer.h"
|
|
|
|
|
|
|
|
USING_NS_CC;
|
|
|
|
USING_NS_CC_EXT;
|
|
|
|
|
2012-11-26 22:00:25 +08:00
|
|
|
SEL_MenuHandler TestHeaderLayer::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char * pSelectorName) {
|
2012-06-15 09:16:54 +08:00
|
|
|
CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onBackClicked", TestHeaderLayer::onBackClicked);
|
2012-06-14 05:19:13 +08:00
|
|
|
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2012-11-26 22:00:25 +08:00
|
|
|
SEL_CCControlHandler TestHeaderLayer::onResolveCCBCCControlSelector(CCObject * pTarget, const char * pSelectorName) {
|
2012-06-14 05:19:13 +08:00
|
|
|
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2013-04-15 10:39:44 +08:00
|
|
|
void TestHeaderLayer::onNodeLoaded(cocos2d::CCNode * pNode, cocos2d::extension::CCNodeLoader * pNodeLoader)
|
|
|
|
{
|
|
|
|
CCLOG("TestHeaderLayer::onNodeLoaded");
|
|
|
|
}
|
|
|
|
|
2012-06-14 05:19:13 +08:00
|
|
|
void TestHeaderLayer::onBackClicked(cocos2d::CCObject *pSender) {
|
|
|
|
CCDirector::sharedDirector()->popScene();
|
|
|
|
}
|