Add ImGuiIO::AddInputCharactersUTF8(char* utf8str)
It'll convert the utf8 string to ImWchar's and passes each of them
to AddInputCharacter().

Very handy for SDL2 SDL_TEXTINPUT events, which provide a buffer with an
UTF-8 string.
1 parent b4ac413 commit be8fb858cc810ff2125669e4e7e1254405f1ebc8
@Daniel Gibson Daniel Gibson authored on 15 Jul 2015
Showing 2 changed files
View
imgui.cpp
View
imgui.h