| 654 | |
| 655 | |
| 656 | lua::ImguiHandle TreeParent::AddDrag(char const* label, std::optional<float> value, std::optional<float> min, std::optional<float> max) |
| 657 | { |
| 658 | auto e = AddChild<DragScalar>(); |
| 659 | e->Label = label; |
| 660 | if (value) e->Value = glm::vec4(*value); |
| 661 | if (min) e->Min = glm::vec4(*min); |
| 662 | if (max) e->Max = glm::vec4(*max); |
| 663 | return e; |
| 664 | } |
| 665 | |
| 666 | |
| 667 | lua::ImguiHandle TreeParent::AddDragInt(char const* label, std::optional<int> value, std::optional<int> min, std::optional<int> max) |
nothing calls this directly
no outgoing calls
no test coverage detected