mirror of https://github.com/axmolengine/axmol.git
19 lines
549 B
C++
19 lines
549 B
C++
#include "TestHeaderLayer.h"
|
|
|
|
USING_NS_CC;
|
|
USING_NS_CC_EXT;
|
|
|
|
SEL_MenuHandler TestHeaderLayer::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char * pSelectorName) {
|
|
CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onBackClicked", TestHeaderLayer::onBackClicked);
|
|
|
|
return NULL;
|
|
}
|
|
|
|
SEL_CCControlHandler TestHeaderLayer::onResolveCCBCCControlSelector(CCObject * pTarget, const char * pSelectorName) {
|
|
|
|
return NULL;
|
|
}
|
|
|
|
void TestHeaderLayer::onBackClicked(cocos2d::CCObject *pSender) {
|
|
CCDirector::sharedDirector()->popScene();
|
|
} |