예제 #1
0
SEL_CCControlHandler CentralAccountLoginLayer::onResolveCCBCCControlSelector(CCObject * pTarget, CCString * pSelectorName){
    
    //Bind CCControl Events
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onOk",CentralAccountLoginLayer::onOk);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onSina",CentralAccountLoginLayer::onSina);
    return NULL;
}
예제 #2
0
SEL_CCControlHandler ExplorePopUpView::onResolveCCBCCControlSelector(cocos2d::CCObject * pTarget, const char * pSelectorName){
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onDeleteClick", ExplorePopUpView::onDeleteClick);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onAddSaveClick", ExplorePopUpView::onAddSaveClick);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onReturnClick", ExplorePopUpView::onReturnClick);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onWriteClick", ExplorePopUpView::onWriteClick);
    return NULL;
}
예제 #3
0
SEL_CCControlHandler CLoginLayer::onResolveCCBCCControlSelector(CCObject * pTarget, const char* pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "OnRegister", CLoginLayer::OnRegisterClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "OnQuikLogin", CLoginLayer::OnQuickLoginCliked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "OnAccountLogin", CLoginLayer::OnAccountLoginCliked);
    return NULL ;
}
예제 #4
0
SEL_CCControlHandler SelectRoomLayer::onResolveCCBCCControlSelector(CCObject * pTarget, const char* pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "OnClose", SelectRoomLayer::OnClose) ;
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "OnRoom1Down", SelectRoomLayer::OnRoom1Down) ;
    
    return NULL ;
}
예제 #5
0
SEL_CCControlHandler SingleScoreRankView::onResolveCCBCCControlSelector(cocos2d::CCObject * pTarget, const char * pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onTipBtnClick", SingleScoreRankView::onTipBtnClick);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onHistoryBtnClick", SingleScoreRankView::onHistoryBtnClick);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onConRankBtnClick", SingleScoreRankView::onConRankBtnClick);
    return NULL;
}
예제 #6
0
cocos2d::extension::Control::Handler ark_maingameDesk::onResolveCCBCCControlSelector(cocos2d::Ref * pTarget, const char * pSelectorName)
{
	CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this,"m_liaotianCallback",ark_maingameDesk::m_liaotianCallback);
	CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this,"m_biaoqingCallback",ark_maingameDesk::m_biaoqingCallback);
	CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this,"m_menuCallback",ark_maingameDesk::m_menuCallback);
	return NULL;
}
예제 #7
0
SEL_CCControlHandler EquipMeltView::onResolveCCBCCControlSelector(cocos2d::CCObject *pTarget, const char *pSelectorName) {
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickMeltBtn", EquipMeltView::onClickMeltBtn);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickSaveBtn", EquipMeltView::onClickSaveBtn);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickTipBtn", EquipMeltView::onClickTipBtn);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickHelpBtn", EquipMeltView::onClickHelpBtn);
    return NULL;
}
//按钮响应事件绑定
SEL_CCControlHandler DialogLayer::onResolveCCBCCControlSelector(CCObject * pTarget, const char* pSelectorName)
{
//    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "getAwardBtnClicked", GeneralDialog::getAwardBtnClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCloseClick", DialogLayer::closeBtn);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onOk", DialogLayer::okBtn);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCancel", DialogLayer::cancelBtn);
    return NULL;
}
예제 #9
0
SEL_CCControlHandler AnimationsTestLayer::onResolveCCBCCControlSelector(CCObject *pTarget, const char*pSelectorName, CCNode* pNode) {
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCCControlButtonIdleClicked", AnimationsTestLayer::onCCControlButtonIdleClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCCControlButtonWaveClicked", AnimationsTestLayer::onCCControlButtonWaveClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCCControlButtonJumpClicked", AnimationsTestLayer::onCCControlButtonJumpClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCCControlButtonFunkyClicked", AnimationsTestLayer::onCCControlButtonFunkyClicked);

    return NULL;
}
예제 #10
0
SEL_CCControlHandler BanTimeView::onResolveCCBCCControlSelector(CCObject * pTarget, const char* pSelectorName) {
    
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "keyPressedBtnOk", BanTimeView::keypressedBtnOk);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "keyPressedBtnCancel", BanTimeView::keypressedBtnCancel);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickNoticeBtn", BanTimeView::onClickNoticeBtn);
    //CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "keyPressedBtnClose", YesNoDialog::keyPressedBtnClose);
    
    return NULL;
}
SEL_CCControlHandler TreasureExploreLayer::onResolveCCBCCControlSelector(CCObject * pTarget, const char * pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "close",  TreasureExploreLayer::OnCloseBtnClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "explore",    TreasureExploreLayer::OnExploreBtnClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "get_reward", TreasureExploreLayer::OnGetRewardBtnClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "ball_click", TreasureExploreLayer::onBallClicked);

    return NULL;
}
예제 #12
0
SEL_CCControlHandler StoreView::onResolveCCBCCControlSelector(cocos2d::CCObject * pTarget, const char * pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCloseClick", StoreView::onCloseClick);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickStoreBtn", StoreView::onClickStoreBtn);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickBagBtn", StoreView::onClickBagBtn);
//    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickWarBtn", StoreView::onClickWarBtn);
//    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickSpdBtn", StoreView::onClickSpdBtn);
//    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickResBtn", StoreView::onClickResBtn);
//    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickOthBtn", StoreView::onClickOthBtn);
    return NULL;
}
예제 #13
0
SEL_CCControlHandler CentralBattleEndUILayer::onResolveCCBCCControlSelector(CCObject * pTarget, CCString * pSelectorName){
    
    //Bind CCControl Events
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onHome",CentralBattleEndUILayer::onHome);
    return NULL;
    
}
예제 #14
0
SEL_CCControlHandler QiangHLayer::onResolveCCBCCControlSelector(CCObject * pTarget, CCString * pSelectorName)
{
	CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "qhClicked", QiangHLayer::qhClicked);
	//CCBSelectorResolver * targetAsCCBSelectorResolver = dynamic_cast<CCBSelectorResolver *>(pTarget);
	//if(pTarget == this && pSelectorName->compare("onBtn_qhClicked") == 0)
	//	return cccontrol_selector(QiangHLayer::onBtn_qhClicked);
	return NULL;
}
예제 #15
0
SEL_CCControlHandler PropSpeedupView::onResolveCCBCCControlSelector(CCObject * pTarget, const char* pSelectorName) {
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onAddClick", PropSpeedupView::onAddClick);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onSubClick", PropSpeedupView::onSubClick);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onUseClick", PropSpeedupView::onUseClick);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "keypressedBtnLast", PropSpeedupView::keypressedBtnLast);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "keypressedBtnNext", PropSpeedupView::keypressedBtnNext);
    
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onUpBtn1Click", PropSpeedupView::onUpBtn1Click);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onUpBtn2Click", PropSpeedupView::onUpBtn2Click);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onUseBtnPart2Click", PropSpeedupView::onUseBtnPart2Click);
    return NULL;
}
예제 #16
0
SEL_CCControlHandler EquipLongjingView::onResolveCCBCCControlSelector(cocos2d::CCObject * pTarget, const char * pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickSite1Btn", EquipLongjingView::onClickSite1Btn);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickSite2Btn", EquipLongjingView::onClickSite2Btn);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickSite3Btn", EquipLongjingView::onClickSite3Btn);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickSite4Btn", EquipLongjingView::onClickSite4Btn);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickSite5Btn", EquipLongjingView::onClickSite5Btn);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onOkBtnClick", EquipLongjingView::onOkBtnClick);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickHelpBtn", EquipLongjingView::onClickHelpBtn);
    return NULL;
}
예제 #17
0
SEL_CCControlHandler ToolCreateView::onResolveCCBCCControlSelector(cocos2d::CCObject * pTarget, const char * pSelectorName){
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCancelBtn1Click", ToolCreateView::onCancelBtn1Click);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCancelBtn2Click", ToolCreateView::onCancelBtn2Click);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCancelBtn3Click", ToolCreateView::onCancelBtn3Click);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCancelBtn4Click", ToolCreateView::onCancelBtn4Click);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCancelBtn5Click", ToolCreateView::onCancelBtn5Click);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onBuyBtnClick", ToolCreateView::onBuyBtnClick);
    
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onBoxBtnClick", ToolCreateView::onBoxBtnClick);
    return NULL;
}
예제 #18
0
SEL_CCControlHandler HelloCocosBuilderLayer::onResolveCCBCCControlSelector(CCObject * pTarget, const char * pSelectorName, CCNode* pNode) {
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onMenuTestClicked", HelloCocosBuilderLayer::onMenuTestClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onSpriteTestClicked", HelloCocosBuilderLayer::onSpriteTestClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onButtonTestClicked", HelloCocosBuilderLayer::onButtonTestClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onAnimationsTestClicked", HelloCocosBuilderLayer::onAnimationsTestClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onParticleSystemTestClicked", HelloCocosBuilderLayer::onParticleSystemTestClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onScrollViewTestClicked", HelloCocosBuilderLayer::onScrollViewTestClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onTimelineCallbackSoundClicked", HelloCocosBuilderLayer::onTimelineCallbackSoundClicked);
    
    return NULL;
}
예제 #19
0
SEL_CCControlHandler HelloCocosBuilderLayer::onResolveCCBCCControlSelector(CCObject * pTarget, CCString * pSelectorName) {
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onMenuTestClicked", HelloCocosBuilderLayer::onMenuTestClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onSpriteTestClicked", HelloCocosBuilderLayer::onSpriteTestClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onButtonTestClicked", HelloCocosBuilderLayer::onButtonTestClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onLabelTestClicked", HelloCocosBuilderLayer::onLabelTestClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onParticleSystemTestClicked", HelloCocosBuilderLayer::onParticleSystemTestClicked);
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onScrollViewTestClicked", HelloCocosBuilderLayer::onScrollViewTestClicked);

    return NULL;
}
예제 #20
0
SEL_CCControlHandler PlayerRankListView::onResolveCCBCCControlSelector(cocos2d::CCObject * pTarget, const char * pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onTipBtnClick", PlayerRankListView::onTipBtnClick);
    
    return NULL;
}
예제 #21
0
extension::SEL_CCControlHandler MapMenu1Layer::onResolveCCBCCControlSelector(CCObject * pTarget, const char * pSelectorName)
{
	CCB_SELECTORRESOLVER_CCCONTROL_GLUE( this, "playSound", MapMenu1Layer::controlButtonTest );
	return NULL;
}
예제 #22
0
SEL_CCControlHandler CResultDlg::onResolveCCBCCControlSelector(CCObject * pTarget, const char* pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "OnClose", CResultDlg::OnClose) ;
    return NULL ;
}
예제 #23
0
SEL_CCControlHandler FMMapAvatarNode::onResolveCCBCCControlSelector(CCObject * pTarget, const char* pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "clickAvatarBtn", FMMapAvatarNode::clickAvatarBtn);
    return NULL;
}
예제 #24
0
SEL_CCControlHandler ButtonTestLayer::onResolveCCBCCControlSelector(CCObject * pTarget, CCString * pSelectorName) {
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCCControlButtonClicked", ButtonTestLayer::onCCControlButtonClicked);

    return NULL;
}
예제 #25
0
SEL_CCControlHandler FacebookLikeView::onResolveCCBCCControlSelector(cocos2d::CCObject *pTarget, const char *pSelectorName) {
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onGoClick", FacebookLikeView::onGoClick);
    return NULL;
}
SEL_CCControlHandler  RCScrollViewScene::onResolveCCBCCControlSelector(cocos2d::CCObject * pTarget, const char * pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "buttonClicked", RCScrollViewScene::onButtonClicked);
    return NULL;
}
예제 #27
0
SEL_CCControlHandler YuanJunDetailView::onResolveCCBCCControlSelector(cocos2d::CCObject * pTarget, const char * pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onClickResult", YuanJunDetailView::onClickResult);
    return NULL;
}
예제 #28
0
파일: TestLayer.cpp 프로젝트: starcid/Song
SEL_CCControlHandler TestLayer::onResolveCCBCCControlSelector( CCObject *pTarget, const char* pSelectorName )
{
	CCB_SELECTORRESOLVER_CCCONTROL_GLUE( this, "buttonClicked:", TestLayer::buttonClicked );
    
    return NULL;
}
예제 #29
0
SEL_CCControlHandler ComicWarUI::onResolveCCBCCControlSelector(CCObject* pTarget, const char* pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "buttonClicked", ComicWarUI::onButtonClicked);
    return NULL;
}
예제 #30
0
cocos2d::extension::Control::Handler KingBattleRewardView::onResolveCCBCCControlSelector(cocos2d::Ref * pTarget, const char* pSelectorName)
{
    CCB_SELECTORRESOLVER_CCCONTROL_GLUE(this, "onCloseClick", KingBattleRewardView::onCloseClick);
    return NULL;
}