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

Method dispatchInsertText

core/base/IMEDispatcher.cpp:212–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210//////////////////////////////////////////////////////////////////////////
211
212void IMEDispatcher::dispatchInsertText(const char* text, size_t len)
213{
214 do
215 {
216 AX_BREAK_IF(!_impl || !text || len <= 0);
217
218 // there is no delegate attached to IME
219 AX_BREAK_IF(!_impl->_delegateWithIme);
220
221 _impl->_delegateWithIme->insertText(text, len);
222 } while (0);
223}
224
225void IMEDispatcher::dispatchDeleteBackward(int numChars)
226{

Callers 4

onGLFWCharCallbackMethod · 0.80
executeMethod · 0.80
OnWinRTKeyboardEventMethod · 0.80

Calls 1

insertTextMethod · 0.45

Tested by

no test coverage detected