MCPcopy Create free account
hub / github.com/Norbyte/bg3se / AddInputText

Method AddInputText

BG3Extender/Extender/Client/IMGUI/IMGUI.cpp:636–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634
635
636lua::ImguiHandle TreeParent::AddInputText(char const* label, std::optional<STDString> value)
637{
638 auto e = AddChild<InputText>();
639 e->Label = label;
640 if (value) {
641 e->SetText(*value);
642 }
643
644 return e;
645}
646
647
648lua::ImguiHandle TreeParent::AddCombo(char const* label)

Callers

nothing calls this directly

Calls 1

SetTextMethod · 0.45

Tested by

no test coverage detected