| 1154 | } |
| 1155 | |
| 1156 | void ImGuiIO::AddInputCharactersUTF8(const char* utf8_chars) |
| 1157 | { |
| 1158 | while (*utf8_chars != 0) |
| 1159 | { |
| 1160 | unsigned int c = 0; |
| 1161 | utf8_chars += ImTextCharFromUtf8(&c, utf8_chars, NULL); |
| 1162 | if (c != 0) |
| 1163 | InputQueueCharacters.push_back((ImWchar)c); |
| 1164 | } |
| 1165 | } |
| 1166 | |
| 1167 | void ImGuiIO::ClearInputCharacters() |
| 1168 | { |
nothing calls this directly
no test coverage detected