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

Method AddColorPicker

BG3Extender/Extender/Client/IMGUI/IMGUI.cpp:727–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725
726
727lua::ImguiHandle TreeParent::AddColorPicker(char const* label, std::optional<glm::vec3> value)
728{
729 auto e = AddChild<ColorPicker>();
730 e->Label = label;
731 if (value) e->Color = glm::vec4(*value, 1.0f);
732 return e;
733}
734
735
736lua::ImguiHandle TreeParent::AddProgressBar()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected