axmol/tools/tolua++/CCTextFieldTTF.pkg

19 lines
662 B
Plaintext

class CCTextFieldTTF : public CCLabelTTF
{
bool attachWithIME();
bool detachWithIME();
int getCharCount();
void setColorSpaceHolder(Color3B val);
Color3B getColorSpaceHolder();
void setString(const char *text);
const char* getString(void) const;
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);
};