mirror of https://github.com/axmolengine/axmol.git
40 lines
818 B
C++
40 lines
818 B
C++
#ifndef _CCB_CCMENUITEMIMAGELOADER_H_
|
|
#define _CCB_CCMENUITEMIMAGELOADER_H_
|
|
|
|
#include "CCMenuItemLoader.h"
|
|
|
|
namespace cocosbuilder {
|
|
|
|
/* Forward declaration. */
|
|
class CCBReader;
|
|
|
|
class MenuItemImageLoader : public MenuItemLoader {
|
|
public:
|
|
/**
|
|
* @js NA
|
|
* @lua NA
|
|
*/
|
|
virtual ~MenuItemImageLoader() {};
|
|
/**
|
|
* @js NA
|
|
* @lua NA
|
|
*/
|
|
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(MenuItemImageLoader, loader);
|
|
|
|
protected:
|
|
/**
|
|
* @js NA
|
|
* @lua NA
|
|
*/
|
|
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(cocos2d::MenuItemImage);
|
|
/**
|
|
* @js NA
|
|
* @lua NA
|
|
*/
|
|
virtual void onHandlePropTypeSpriteFrame(cocos2d::Node * pNode, cocos2d::Node * pParent, const char * pPropertyName, cocos2d::SpriteFrame * pSpriteFrame, CCBReader * ccbReader);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|