MCPcopy Create free account
hub / github.com/axmolengine/axmol / attachWithIME

Method attachWithIME

core/2d/TextFieldTTF.cpp:208–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206//////////////////////////////////////////////////////////////////////////
207
208bool 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
221bool TextFieldTTF::detachWithIME()
222{

Callers

nothing calls this directly

Calls 1

setIMEKeyboardStateMethod · 0.45

Tested by

no test coverage detected