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

Method AddRadioButton

BG3Extender/Extender/Client/IMGUI/IMGUI.cpp:627–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625
626
627lua::ImguiHandle TreeParent::AddRadioButton(char const* label, std::optional<bool> active)
628{
629 auto e = AddChild<RadioButton>();
630 e->Label = label;
631 if (active) e->Active = *active;
632 return e;
633}
634
635
636lua::ImguiHandle TreeParent::AddInputText(char const* label, std::optional<STDString> value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected