mirror of https://github.com/axmolengine/axmol.git
28 lines
1.1 KiB
C++
28 lines
1.1 KiB
C++
#ifndef _CCB_CCLAYERGRADIENTLOADER_H_
|
|
#define _CCB_CCLAYERGRADIENTLOADER_H_
|
|
|
|
#include "CCLayerLoader.h"
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
/* Forward declaration. */
|
|
class CCBReader;
|
|
|
|
class CCLayerGradientLoader : public CCLayerLoader {
|
|
public:
|
|
virtual ~CCLayerGradientLoader() {};
|
|
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCLayerGradientLoader, loader);
|
|
|
|
protected:
|
|
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(CCLayerGradient);
|
|
|
|
virtual void onHandlePropTypeColor3(CCNode * pNode, CCNode * pParent, const char * pPropertyName, ccColor3B pCCColor3B, CCBReader * pCCBReader);
|
|
virtual void onHandlePropTypeByte(CCNode * pNode, CCNode * pParent, const char * pPropertyName, unsigned char pByte, CCBReader * pCCBReader);
|
|
virtual void onHandlePropTypePoint(CCNode * pNode, CCNode * pParent, const char * pPropertyName, CCPoint pPoint, CCBReader * pCCBReader);
|
|
virtual void onHandlePropTypeBlendFunc(CCNode * pNode, CCNode * pParent, const char * pPropertyName, ccBlendFunc pCCBlendFunc, CCBReader * pCCBReader);
|
|
};
|
|
|
|
NS_CC_EXT_END
|
|
|
|
#endif
|