| 751 | } |
| 752 | |
| 753 | void 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 | |
| 771 | vector<SDL_Event> events; |
| 772 |
no outgoing calls
no test coverage detected