MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / AddInputCharactersUTF8

Method AddInputCharactersUTF8

lib/imgui/imgui.cpp:1097–1106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1095}
1096
1097void ImGuiIO::AddInputCharactersUTF8(const char* utf8_chars)
1098{
1099 while (*utf8_chars != 0)
1100 {
1101 unsigned int c = 0;
1102 utf8_chars += ImTextCharFromUtf8(&c, utf8_chars, NULL);
1103 if (c > 0 && c <= IM_UNICODE_CODEPOINT_MAX)
1104 InputQueueCharacters.push_back((ImWchar)c);
1105 }
1106}
1107
1108void ImGuiIO::ClearInputCharacters()
1109{

Callers 1

Calls 2

ImTextCharFromUtf8Function · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected