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

Method AddInputScalar

BG3Extender/Extender/Client/IMGUI/IMGUI.cpp:700–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698
699
700lua::ImguiHandle TreeParent::AddInputScalar(char const* label, std::optional<float> value)
701{
702 auto e = AddChild<InputScalar>();
703 e->Label = label;
704 if (value) e->Value = glm::vec4(*value);
705 return e;
706}
707
708
709lua::ImguiHandle TreeParent::AddInputInt(char const* label, std::optional<int> value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected