MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / AddInputCharactersUTF8

Method AddInputCharactersUTF8

include/imgui/imgui.cpp:1759–1770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1757}
1758
1759void ImGuiIO::AddInputCharactersUTF8(const char* str)
1760{
1761 if (!AppAcceptingEvents)
1762 return;
1763 const char* str_end = str + strlen(str);
1764 while (*str != 0)
1765 {
1766 unsigned int c = 0;
1767 str += ImTextCharFromUtf8(&c, str, str_end);
1768 AddInputCharacter(c);
1769 }
1770}
1771
1772// Clear all incoming events.
1773void ImGuiIO::ClearEventsQueue()

Callers

nothing calls this directly

Calls 1

ImTextCharFromUtf8Function · 0.85

Tested by

no test coverage detected