2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCLabelBMFont : public CCNode
|
|
|
|
{
|
|
|
|
void setString(const char *label);
|
|
|
|
const char* getString(void);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
void setColor(const ccColor3B& color);
|
|
|
|
const ccColor3B& getColor(void);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
GLubyte getOpacity(void);
|
|
|
|
void setOpacity(GLubyte opacity);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
tolua_property__CCOpacity GLubyte opacity;
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
static void purgeCachedData();
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCLabelBMFont * create(const char *str, const char *fntFile);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|