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

Method attachWithIME

core/ui/UITextFieldEx.cpp:467–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465//////////////////////////////////////////////////////////////////////////
466
467bool TextFieldEx::attachWithIME()
468{
469 bool ret = IMEDelegate::attachWithIME();
470 if (ret)
471 {
472 // open keyboard
473 RenderView* renderView = _director->getRenderView();
474 if (renderView)
475 renderView->setIMEKeyboardState(true);
476 }
477 return ret;
478}
479
480bool TextFieldEx::detachWithIME()
481{

Callers 1

openIMEMethod · 0.95

Calls 1

setIMEKeyboardStateMethod · 0.45

Tested by

no test coverage detected