#ifndef _CCB_CCSCALE9SPRITELOADER_H_ #define _CCB_CCSCALE9SPRITELOADER_H_ #include "CCNodeLoader.h" #include "CCScale9SpriteLoader.h" #include "../GUI/CCControlExtension/CCScale9Sprite.h" NS_CC_EXT_BEGIN /* Forward declaration. */ class CCBReader; class Scale9SpriteLoader : public NodeLoader { public: virtual ~Scale9SpriteLoader() {}; CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(Scale9SpriteLoader, loader); protected: CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(Scale9Sprite); virtual void onHandlePropTypeColor3(Node * pNode, Node * pParent, const char * pPropertyName, Color3B pColor3B, CCBReader * pCCBReader); virtual void onHandlePropTypeByte(Node * pNode, Node * pParent, const char * pPropertyName, unsigned char pByte, CCBReader * pCCBReader); virtual void onHandlePropTypeBlendFunc(Node * pNode, Node * pParent, const char * pPropertyName, BlendFunc pBlendFunc, CCBReader * pCCBReader); virtual void onHandlePropTypeSpriteFrame(Node * pNode, Node * pParent, const char * pPropertyName, SpriteFrame * pSpriteFrame, CCBReader * pCCBReader); virtual void onHandlePropTypeSize(Node * pNode, Node * pParent, const char * pPropertyName, Size pSize, CCBReader * pCCBReader); virtual void onHandlePropTypeFloat(Node * pNode, Node * pParent, const char * pPropertyName, float pFloat, CCBReader * pCCBReader); }; NS_CC_EXT_END #endif