2012-06-14 05:19:13 +08:00
|
|
|
#include "TestHeaderLayer.h"
|
|
|
|
|
|
|
|
USING_NS_CC;
|
|
|
|
USING_NS_CC_EXT;
|
|
|
|
|
2013-06-20 14:17:10 +08:00
|
|
|
SEL_MenuHandler TestHeaderLayer::onResolveCCBMenuItemSelector(Object * 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;
|
|
|
|
}
|
|
|
|
|
2013-06-20 14:17:10 +08:00
|
|
|
SEL_CCControlHandler TestHeaderLayer::onResolveCCBControlSelector(Object * pTarget, const char * pSelectorName) {
|
2012-06-14 05:19:13 +08:00
|
|
|
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2013-06-20 14:17:10 +08:00
|
|
|
void TestHeaderLayer::onNodeLoaded(cocos2d::Node * pNode, cocos2d::extension::NodeLoader * pNodeLoader)
|
2013-04-15 10:39:44 +08:00
|
|
|
{
|
|
|
|
CCLOG("TestHeaderLayer::onNodeLoaded");
|
|
|
|
}
|
|
|
|
|
2013-06-20 14:17:10 +08:00
|
|
|
void TestHeaderLayer::onBackClicked(cocos2d::Object *pSender) {
|
|
|
|
Director::sharedDirector()->popScene();
|
2012-06-14 05:19:13 +08:00
|
|
|
}
|