mirror of https://github.com/axmolengine/axmol.git
28 lines
1.1 KiB
C++
28 lines
1.1 KiB
C++
#ifndef _CCLABELTTF_LOADER_H_
|
|
#define _CCLABELTTF_LOADER_H_
|
|
|
|
#include "CCNodeLoader.h"
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
/* Forward declaration. */
|
|
class CCBReader;
|
|
|
|
class CCLabelTTFLoader : public CCNodeLoader {
|
|
protected:
|
|
virtual CCLabelTTF * createCCNode(CCNode *, CCBReader *);
|
|
|
|
virtual void onHandlePropTypeColor3(CCNode *, CCNode *, std::string, ccColor3B, CCBReader *);
|
|
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 *);
|
|
virtual void onHandlePropTypeSize(CCNode *, CCNode *, std::string, CCSize, CCBReader *);
|
|
};
|
|
|
|
NS_CC_EXT_END
|
|
|
|
#endif
|