cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GUIDefine.h File Reference
#include <string>
#include "base/ObjectFactory.h"

Macros

#define DECLARE_CLASS_GUI_INFO
 
#define IMPLEMENT_CLASS_GUI_INFO(className)
 
#define CREATE_CLASS_GUI_INFO(className)   cocos2d::ObjectFactory::TInfo(#className, &className::createInstance) \
 
#define DECLARE_CLASS_WIDGET_READER_INFO
 
#define IMPLEMENT_CLASS_WIDGET_READER_INFO(className)
 
#define CREATE_CLASS_WIDGET_READER_INFO(className)   cocos2d::ObjectFactory::TInfo(#className, &className::createInstance) \
 
#define CC_VIDEOPLAYER_DEBUG_DRAW   0
 
#define __LAYOUT_COMPONENT_NAME   "__ui_layout"
 

Macro Definition Documentation

#define __LAYOUT_COMPONENT_NAME   "__ui_layout"
#define CC_VIDEOPLAYER_DEBUG_DRAW   0
#define CREATE_CLASS_GUI_INFO (   className)    cocos2d::ObjectFactory::TInfo(#className, &className::createInstance) \
#define CREATE_CLASS_WIDGET_READER_INFO (   className)    cocos2d::ObjectFactory::TInfo(#className, &className::createInstance) \
#define DECLARE_CLASS_GUI_INFO
Value:
public: \
static cocos2d::Ref* createInstance(void); \
Definition: CCRef.h:66
Definition: ObjectFactory.h:41
#define DECLARE_CLASS_WIDGET_READER_INFO
Value:
public: \
static cocos2d::Ref* createInstance(void); \
Definition: CCRef.h:66
Definition: ObjectFactory.h:41
#define IMPLEMENT_CLASS_GUI_INFO (   className)
Value:
cocos2d::Ref* className::createInstance(void) \
{ \
return className::create(); \
} \
cocos2d::ObjectFactory::TInfo className::__Type(#className, &className::createInstance); \
Definition: CCRef.h:66
#define IMPLEMENT_CLASS_WIDGET_READER_INFO (   className)
Value:
cocos2d::Ref* className::createInstance(void) \
{ \
return className::getInstance(); \
} \
cocos2d::ObjectFactory::TInfo className::__Type(#className, &className::createInstance); \
Definition: CCRef.h:66