예제 #1
0
SEL_MenuHandler ExitLayer::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char * pSelectorName)
{
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnExit", ExitLayer::onMenuItemExitClicked);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnContinue", ExitLayer::onMenuItemContinueClicked);

    return NULL;
}
예제 #2
0
SEL_MenuHandler MainScene::onResolveCCBCCMenuItemSelector(cocos2d::CCObject * pTarget, const char * pSelectorName)
{
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onMenuTestClicked", MainScene::onMenuTestClicked);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onActionMenuClicked", MainScene::onActionMenuClicked);
    
    return NULL;
}
예제 #3
0
SEL_MenuHandler BalloonResultDialog::onResolveCCBCCMenuItemSelector( CCObject * pTarget, const char* pSelectorName )
{
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onPressMenuReturnMain", BalloonResultDialog::onPressMenuReturnMain);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onPressMenuShare", BalloonResultDialog::onPressMenuShare);
    
	return NULL;
}
예제 #4
0
SEL_MenuHandler MenuTestLayer::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char * pSelectorName) {
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onMenuItemAClicked", MenuTestLayer::onMenuItemAClicked);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onMenuItemBClicked", MenuTestLayer::onMenuItemBClicked);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onMenuItemCClicked", MenuTestLayer::onMenuItemCClicked);

    return NULL;
}
예제 #5
0
파일: Status.cpp 프로젝트: huangmaowwm/miwu
SEL_MenuHandler Status::onResolveCCBCCMenuItemSelector(cocos2d::CCObject *pTarget, const char *pSelectorName)
{
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "pressedPelican:", Status::pressedPelican);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "pressedBlood:", Status::pressedBlood);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "pressedStone:", Status::pressedStone);
    
    return NULL;
}
예제 #6
0
SEL_MenuHandler BalloonRankDialog::onResolveCCBCCMenuItemSelector( CCObject * pTarget, const char* pSelectorName )
{
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onPressMenuShare", BalloonRankDialog::onPressMenuShare);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onPressMenuClose", BalloonRankDialog::onPressMenuClose);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onPressMenuGameCenter", BalloonRankDialog::onPressMenuGameCenter);

	return NULL;
}
예제 #7
0
SEL_MenuHandler PlayerStatus::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char * pSelectorName) {

  CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "pressedPair:", PlayerStatus::pressedPair);
  CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "pressedReset:", PlayerStatus::pressedReset);
  CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "pressedRun:", PlayerStatus::pressedRun);

  return NULL;    
}
예제 #8
0
파일: CLobbyLayer.cpp 프로젝트: Gamex/GameX
SEL_MenuHandler CLobbyLayer::onResolveCCBCCMenuItemSelector(Object * pTarget, const char* pSelectorName)
{
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onFormation", CLobbyLayer::onFormation);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onBattle", CLobbyLayer::onBattle);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onHome", CLobbyLayer::onHome);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onTestSocket", CLobbyLayer::onTestSocket);
    return nullptr;
}
예제 #9
0
SEL_MenuHandler MapMenu1Layer::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char * pSelectorName)
{
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE( this, "closeCB", MapMenu1Layer::closeCB);
//    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE( this, "tbButtonCB", MapMenu1Layer::tableCB);

	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE( this, "gameCB", MapMenu1Layer::gameCB);
//    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE( this, "m1b2CB", MapMenu1Layer::showMenu1);

	return NULL;
}
예제 #10
0
파일: xuanren.cpp 프로젝트: xu561865/tsDemo
SEL_MenuHandler SelectRole::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char * pSelectorName)
{
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "press_btn1", SelectRole::FirstPerson);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "press_btn2", SelectRole::SecondPerson);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "press_btn3", SelectRole::ThridPerson);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "press_btn_select", SelectRole::EnterName);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "press_btn_ok", SelectRole::replacScene);
    
    return NULL;
}
예제 #11
0
SEL_MenuHandler MyAboutLayer::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char * pSelectorName)
{

	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnOff", MyAboutLayer::onMenuItemOffClicked);

	return NULL;
}
SEL_MenuHandler MainMenuScene::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char* pSelectorName)
{
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "goPlay:", MainMenuScene::goPlay);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "goLaunch:", MainMenuScene::goLaunch);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "goStats:", MainMenuScene::goStats);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "goRules:", MainMenuScene::goRules);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "goFeedback:", MainMenuScene::goFeedback);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "goSoundOff:", MainMenuScene::goSoundOff);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "goSoundOn:", MainMenuScene::goSoundOn);
    return NULL;
}
예제 #13
0
// CCBSelectorResolver interface
SEL_MenuHandler LayerMain::onResolveCCBCCMenuItemSelector(cocos2d::CCObject *pTarget, const char *pSelectorName)
{
    //CCLOG("Imhere onResolveCCBCCMenuItemSelector: %s", pSelectorName);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "btnUserInfo", LayerMain::onButtonUserInfo);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "btnMoney", LayerMain::onButtonMoney);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "btnMail", LayerMain::onButtonMail);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "btnFriend", LayerMain::onButtonFriends);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "btnSettings", LayerMain::onButtonSettings);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "btnBack", LayerMain::onButtonBack);
    return NULL;
}
예제 #14
0
SEL_MenuHandler BossBoardLayer::onResolveCCBCCMenuItemSelector(CCObject * pTarget, CCString * pSelectorName) {
    
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onCancelClicked", BossBoardLayer::onCancelClicked);
    
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onMenuGo1", BossBoardLayer::onBossSelected1);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onMenuGo2", BossBoardLayer::onBossSelected2);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onMenuGo3", BossBoardLayer::onBossSelected3);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onMenuGo4", BossBoardLayer::onBossSelected4);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onMenuGo5", BossBoardLayer::onBossSelected5);

    
    return NULL;
}
예제 #15
0
SEL_MenuHandler CFormationPanelLayer::onResolveCCBCCMenuItemSelector(Object * pTarget, const char* pSelectorName)
{
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onBack", CFormationPanelLayer::onBack);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onSave", CFormationPanelLayer::onSave);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onLoad", CFormationPanelLayer::onLoad);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onSave1", CFormationPanelLayer::onSave1);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onLoad1", CFormationPanelLayer::onLoad1);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onUp", CFormationPanelLayer::onUp);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onDown", CFormationPanelLayer::onDown);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onF0", CFormationPanelLayer::onFrame);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onF1", CFormationPanelLayer::onFrame);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onF2", CFormationPanelLayer::onFrame);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onF3", CFormationPanelLayer::onFrame);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onF4", CFormationPanelLayer::onFrame);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onF5", CFormationPanelLayer::onFrame);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onF6", CFormationPanelLayer::onFrame);
    
    return nullptr;
}
예제 #16
0
cocos2d::SEL_MenuHandler PKListViewCell::onResolveCCBCCMenuItemSelector(cocos2d::CCObject * pTarget, cocos2d::CCString * pSelectorName){
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "pkCellMenuCallback", PKListViewCell::pkCellMenuCallback);
    
    return NULL;
}
예제 #17
0
SEL_MenuHandler TestHeaderLayer::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char * pSelectorName, CCNode* pNode) {
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onBackClicked", TestHeaderLayer::onBackClicked);

    return NULL;    
}
예제 #18
0
SEL_MenuHandler ChallengeGameOverScene::onResolveCCBCCMenuItemSelector(CCObject * pTarget, CCString * pSelectorName){
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "press_menu_page",ChallengeGameOverScene::press_menu_page);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "press_replay",ChallengeGameOverScene::press_replay);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "press_play_next",ChallengeGameOverScene::press_play_next);
	return NULL;
}
예제 #19
0
SEL_MenuHandler MainAppendLayer::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char * pSelectorName) 
{
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnPlay", MainAppendLayer::onMenuItemPlayClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnSetup", MainAppendLayer::onMenuItemSetupClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnShop", MainAppendLayer::onMenuItemShopClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnBattle", MainAppendLayer::onMenuItemBattleClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnStory", MainAppendLayer::onMenuItemStoryClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnHelp", MainAppendLayer::onMenuItemHelpClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnAbout", MainAppendLayer::onMenuItemAboutClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnMonster", MainAppendLayer::onMenuItemMonsterClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnMore", MainAppendLayer::onMenuItemMoreClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnBack", MainAppendLayer::onMenuItemBackClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnOff", MainAppendLayer::onMenuItemOffClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnRank", MainAppendLayer::onMenuItemRankClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnMoreGame", MainAppendLayer::onMenuItemMoreGameClicked);
	CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "OnExit", MainAppendLayer::onMenuItemExitClicked);

	return NULL;
}
예제 #20
0
cocos2d::SEL_MenuHandler MainMenuScene::onResolveCCBCCMenuItemSelector(cocos2d::CCObject * pTarget, const char * pSelectorName)
{
  CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "pressedPlay:", MainMenuScene::pressedPlay);
  return NULL;
}
예제 #21
0
SEL_MenuHandler StatsScene::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char* pSelectorName)
{
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "goBack:", StatsScene::goBack);
    CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "goGameCenter:", StatsScene::goGameCenter);
    return NULL;
}