| 1182 | } |
| 1183 | |
| 1184 | void ImGuiIO::AddInputCharactersUTF8(const char* utf8_chars) |
| 1185 | { |
| 1186 | while (*utf8_chars != 0) |
| 1187 | { |
| 1188 | unsigned int c = 0; |
| 1189 | utf8_chars += ImTextCharFromUtf8(&c, utf8_chars, NULL); |
| 1190 | if (c != 0) |
| 1191 | InputQueueCharacters.push_back((ImWchar)c); |
| 1192 | } |
| 1193 | } |
| 1194 | |
| 1195 | void ImGuiIO::ClearInputCharacters() |
| 1196 | { |
nothing calls this directly
no test coverage detected