cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
类 - 图1 类 - 图2)
- 文件列表 - 文件成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

| 命名空间 | 宏定义

CCBSelectorResolver.h 文件参考

#include "extensions//GUI/CCControlExtension/CCInvocation.h"

##
class CCBSelectorResolver
class CCBScriptOwnerProtocol
## 命名空间
cocosbuilder
## 宏定义
#define CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(TARGET, SELECTORNAME, METHOD)
#define CCB_SELECTORRESOLVER_CCCONTROL_GLUE(TARGET, SELECTORNAME, METHOD)
#define CCB_SELECTORRESOLVER_CALLFUNC_GLUE(TARGET, SELECTORNAME, METHOD)

宏定义说明

#define CCB_SELECTORRESOLVER_CALLFUNC_GLUE ( TARGET,
SELECTORNAME,
METHOD
)

值:

if(pTarget == TARGET && strcmp(pSelectorName, SELECTORNAME) == 0) { \

return callfuncN_selector(METHOD); \

}

callfuncN_selector

define callfuncN_selector(_SELECTOR)

Definition: CCRef.h:161

#define CCB_SELECTORRESOLVER_CCCONTROL_GLUE ( TARGET,
SELECTORNAME,
METHOD
)

值:

if(pTarget == TARGET && strcmp(pSelectorName, SELECTORNAME) == 0) { \

return cccontrol_selector(METHOD); \

}

cccontrol_selector

define cccontrol_selector(_SELECTOR)

Definition: CCInvocation.h:46

#define CCB_SELECTORRESOLVER_CCMENUITEM_GLUE ( TARGET,
SELECTORNAME,
METHOD
)

值:

if(pTarget == TARGET && strcmp(pSelectorName, SELECTORNAME) == 0) { \

return menu_selector(METHOD); \

}

menu_selector

define menu_selector(_SELECTOR)

Definition: CCRef.h:164