MCPcopy Create free account
hub / github.com/btbd/smap / InputTextEx

Method InputTextEx

example/imgui/imgui.cpp:8440–9030  ·  view source on GitHub ↗

Edit a string of text NB: when active, hold on a privately held copy of the text (and apply back to 'buf'). So changing 'buf' while active has no effect. FIXME: Rather messy function partly because we are doing UTF8 > u16 > UTF8 conversions on the go to more easily handle stb_textedit calls. Ideally we should stay in UTF-8 all the time. See https://github.com/nothings/stb/issues/188

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

GetCurrentWindowFunction · 0.85
ImVec2Class · 0.85
ImStrncpyFunction · 0.85
ImTextStrFromUtf8Function · 0.85
stb_textedit_clickFunction · 0.85
stb_textedit_dragFunction · 0.85
InputTextFilterCharacterFunction · 0.85
IsKeyPressedMapFunction · 0.85
SetWindowScrollYFunction · 0.85
ImMaxFunction · 0.85
ImMinFunction · 0.85

Tested by

no test coverage detected