MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / AddInputCharactersUTF8

Method AddInputCharactersUTF8

plugins/Cardinal/src/DearImGui/imgui.cpp:1184–1193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1182}
1183
1184void 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
1195void ImGuiIO::ClearInputCharacters()
1196{

Callers

nothing calls this directly

Calls 2

ImTextCharFromUtf8Function · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected