| 676 | |
| 677 | |
| 678 | lua::ImguiHandle TreeParent::AddSlider(char const* label, std::optional<float> value, std::optional<float> min, std::optional<float> max) |
| 679 | { |
| 680 | auto e = AddChild<SliderScalar>(); |
| 681 | e->Label = label; |
| 682 | if (value) e->Value = glm::vec4(*value); |
| 683 | if (min) e->Min = glm::vec4(*min); |
| 684 | if (max) e->Max = glm::vec4(*max); |
| 685 | return e; |
| 686 | } |
| 687 | |
| 688 | |
| 689 | lua::ImguiHandle TreeParent::AddSliderInt(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