Hey all, CCEditBox has been supported in the latest cocos2d-x codes on github(https://github.com/cocos2d/cocos2d-x).
CCEditBox is a wrapper of system edit control. It’s the subclass of CCControlButton. The usage of CCEditBox is very easy since you only need a few lines of code as bellow.
m_pEditName = CCEditBox::create(editBoxSize, CCScale9Sprite::create("extensions/green_edit.png"));
For more details, you should refer to ExtensionsTest/EditBoxTest.
It only supports IOS and Android now, but we will make it support other platforms as soon as possible.
Any suggestions will be appreciated.
QQ20120817-2.png (272.0 KB)
QQ20120817-1.png (230.8 KB)