axmol/tools/tolua++/CCTextFieldTTF.pkg

19 lines
660 B
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
class CCTextFieldTTF : public CCLabelTTF
2011-06-14 14:31:25 +08:00
{
bool attachWithIME();
bool detachWithIME();
2011-06-14 14:31:25 +08:00
int getCharCount();
void setColorSpaceHolder(ccColor3B val);
2011-06-14 14:31:25 +08:00
ccColor3B getColorSpaceHolder();
void setString(const char *text);
const char* getString(void);
2011-06-14 14:31:25 +08:00
void setPlaceHolder(const char * text);
const char * getPlaceHolder(void);
static CCTextFieldTTF * textFieldWithPlaceHolder(const char *placeholder, CCSize dimensions, CCTextAlignment alignment, const char *fontName, float fontSize);
static CCTextFieldTTF * textFieldWithPlaceHolder(const char *placeholder, const char *fontName, float fontSize);
2011-06-14 14:31:25 +08:00
};