2012-06-14 05:19:13 +08:00
|
|
|
#include "TestHeaderLayer.h"
|
|
|
|
|
|
|
|
USING_NS_CC;
|
|
|
|
USING_NS_CC_EXT;
|
|
|
|
|
2013-07-24 18:17:20 +08:00
|
|
|
SEL_MenuHandler TestHeaderLayer::onResolveCCBCCMenuItemSelector(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-07-26 15:22:45 +08:00
|
|
|
Control::Handler TestHeaderLayer::onResolveCCBCCControlSelector(Object * pTarget, const char * pSelectorName) {
|
2012-06-14 05:19:13 +08:00
|
|
|
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2013-07-23 08:25:44 +08:00
|
|
|
void TestHeaderLayer::onNodeLoaded(cocos2d::Node * node, cocos2d::extension::NodeLoader * nodeLoader)
|
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) {
|
2013-07-12 06:24:23 +08:00
|
|
|
Director::getInstance()->popScene();
|
2012-06-14 05:19:13 +08:00
|
|
|
}
|