| 716 | |
| 717 | |
| 718 | lua::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 | |
| 727 | lua::ImguiHandle TreeParent::AddColorPicker(char const* label, std::optional<glm::vec3> value) |
nothing calls this directly
no outgoing calls
no test coverage detected