axmol/tools/tolua++/CCLabelTTF.pkg

30 lines
785 B
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
#include "CCSprite.h"
#include "CCTexture2D.h"
namespace cocos2d{
class CCLabelTTF : public CCSprite, public CCLabelProtocol
{
CCLabelTTF();
~CCLabelTTF();
char * description();
static CCLabelTTF * labelWithString(const char *label, CCSize dimensions, CCTextAlignment alignment, const char *fontName, float fontSize);
static CCLabelTTF * labelWithString(const char *label, const char *fontName, float fontSize);
bool initWithString(const char *label, CCSize dimensions, CCTextAlignment alignment, const char *fontName, float fontSize);
bool initWithString(const char *label, const char *fontName, float fontSize);
void setString(const char *label);
const char* getString(void);
CCLabelProtocol* convertToLabelProtocol();
};
} //namespace cocos2d