mirror of https://github.com/axmolengine/axmol.git
25 lines
647 B
C++
25 lines
647 B
C++
#ifndef _CCB_CCMENUITEMIMAGELOADER_H_
|
|
#define _CCB_CCMENUITEMIMAGELOADER_H_
|
|
|
|
#include "CCMenuItemLoader.h"
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
/* Forward declaration. */
|
|
class CCBReader;
|
|
|
|
class CCMenuItemImageLoader : public CCMenuItemLoader {
|
|
public:
|
|
virtual ~CCMenuItemImageLoader() {};
|
|
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCMenuItemImageLoader, loader);
|
|
|
|
protected:
|
|
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(CCMenuItemImage);
|
|
|
|
virtual void onHandlePropTypeSpriteFrame(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, CCSpriteFrame * pCCSpriteFrame, CCBReader * pCCBReader);
|
|
};
|
|
|
|
NS_CC_EXT_END
|
|
|
|
#endif
|