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

Method AddColorEdit

BG3Extender/Extender/Client/IMGUI/IMGUI.cpp:718–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

716
717
718lua::ImguiHandle TreeParent::AddColorEdit(char const* label, std::optional<glm::vec3> value)
719{
720 auto e = AddChild<ColorEdit>();
721 e->Label = label;
722 if (value) e->Color = glm::vec4(*value, 1.0f);
723 return e;
724}
725
726
727lua::ImguiHandle TreeParent::AddColorPicker(char const* label, std::optional<glm::vec3> value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected