mirror of https://github.com/axmolengine/axmol.git
19 lines
666 B
Plaintext
19 lines
666 B
Plaintext
|
|
class CCTextFieldTTF : public CCLabelTTF
|
|
{
|
|
bool attachWithIME();
|
|
bool detachWithIME();
|
|
|
|
int getCharCount();
|
|
void setColorSpaceHolder(ccColor3B val);
|
|
ccColor3B 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);
|
|
};
|