MCPcopy Create free account
hub / github.com/ddnet/ddnet / StopTextInput

Method StopTextInput

src/engine/client/input.cpp:347–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void CInput::StopTextInput()
348{
349 SDL_StopTextInput();
350 // disable system messages for performance
351 SDL_EventState(SDL_SYSWMEVENT, SDL_DISABLE);
352 m_CompositionString = "";
353 m_CompositionCursor = 0;
354 m_vCandidates.clear();
355}
356
357void CInput::EnsureScreenKeyboardShown()
358{

Callers 2

OnDeactivateMethod · 0.80
DoEditBoxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected