| 206 | ////////////////////////////////////////////////////////////////////////// |
| 207 | |
| 208 | bool TextFieldTTF::attachWithIME() |
| 209 | { |
| 210 | bool ret = IMEDelegate::attachWithIME(); |
| 211 | if (ret) |
| 212 | { |
| 213 | // open keyboard |
| 214 | auto renderView = _director->getRenderView(); |
| 215 | if (renderView) |
| 216 | renderView->setIMEKeyboardState(true); |
| 217 | } |
| 218 | return ret; |
| 219 | } |
| 220 | |
| 221 | bool TextFieldTTF::detachWithIME() |
| 222 | { |
nothing calls this directly
no test coverage detected