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

Method AddCheckbox

BG3Extender/Extender/Client/IMGUI/IMGUI.cpp:618–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616
617
618lua::ImguiHandle TreeParent::AddCheckbox(char const* label, std::optional<bool> checked)
619{
620 auto e = AddChild<Checkbox>();
621 e->Label = label;
622 if (checked) e->Checked = *checked;
623 return e;
624}
625
626
627lua::ImguiHandle TreeParent::AddRadioButton(char const* label, std::optional<bool> active)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected