MCPcopy Create free account
hub / github.com/assaultcube/AC / textinput

Function textinput

source/src/main.cpp:753–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751}
752
753void textinput(bool on, int mask)
754{
755 if(on)
756 {
757 if(!textinputmask)
758 {
759 SDL_StartTextInput();
760 textinputtime = SDL_GetTicks();
761 }
762 textinputmask |= mask;
763 }
764 else
765 {
766 textinputmask &= ~mask;
767 if(!textinputmask) SDL_StopTextInput();
768 }
769}
770
771vector<SDL_Event> events;
772

Callers 3

focusMethod · 0.85
selectMethod · 0.85
saycommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected