| 665 | |
| 666 | |
| 667 | lua::ImguiHandle TreeParent::AddDragInt(char const* label, std::optional<int> value, std::optional<int> min, std::optional<int> max) |
| 668 | { |
| 669 | auto e = AddChild<DragInt>(); |
| 670 | e->Label = label; |
| 671 | if (value) e->Value = glm::ivec4(*value); |
| 672 | if (min) e->Min = glm::ivec4(*min); |
| 673 | if (max) e->Max = glm::ivec4(*max); |
| 674 | return e; |
| 675 | } |
| 676 | |
| 677 | |
| 678 | lua::ImguiHandle TreeParent::AddSlider(char const* label, std::optional<float> value, std::optional<float> min, std::optional<float> max) |
nothing calls this directly
no outgoing calls
no test coverage detected