axmol/cocos2dx/extensions/CCBIReader/CCLabelTTFLoader.h

28 lines
1.1 KiB
C
Raw Normal View History

2012-05-31 06:38:20 +08:00
#ifndef _CCLABELTTF_LOADER_H_
#define _CCLABELTTF_LOADER_H_
#include "CCNodeLoader.h"
NS_CC_EXT_BEGIN
/* Forward declaration. */
class CCBReader;
class CCLabelTTFLoader : public CCNodeLoader {
protected:
2012-05-31 07:51:33 +08:00
virtual CCLabelTTF * createCCNode(CCNode *, CCBReader *);
2012-05-31 06:38:20 +08:00
2012-05-31 07:51:33 +08:00
virtual void onHandlePropTypeColor3(CCNode *, CCNode *, std::string, ccColor3B, CCBReader *);
2012-05-31 06:38:20 +08:00
virtual void onHandlePropTypeByte(CCNode *, CCNode *, std::string, unsigned char, CCBReader *);
virtual void onHandlePropTypeBlendFunc(CCNode *, CCNode *, std::string, ccBlendFunc, CCBReader *);
virtual void onHandlePropTypeFontTTF(CCNode *, CCNode *, std::string, std::string, CCBReader *);
virtual void onHandlePropTypeText(CCNode *, CCNode *, std::string, std::string, CCBReader *);
virtual void onHandlePropTypeFloatScale(CCNode *, CCNode *, std::string, float, CCBReader *);
virtual void onHandlePropTypeIntegerLabeled(CCNode *, CCNode *, std::string, int, CCBReader *);
2012-05-31 07:51:33 +08:00
virtual void onHandlePropTypeSize(CCNode *, CCNode *, std::string, CCSize, CCBReader *);
2012-05-31 06:38:20 +08:00
};
NS_CC_EXT_END
#endif