MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / input_text_line

Function input_text_line

src/host/ui/text_input.cpp:51–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49} // namespace
50
51bool input_text_line(const char* label,
52 std::string& value,
53 ImGuiInputTextFlags flags) {
54 flags |= ImGuiInputTextFlags_CallbackResize;
55 return ImGui::InputText(label,
56 value.data(),
57 value.capacity() + 1,
58 flags,
59 resize_callback,
60 &value);
61}
62
63bool input_text_line_with_hint(const char* label,
64 const char* hint,

Callers 1

input_int_fieldFunction · 0.85

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected