| 687 | |
| 688 | |
| 689 | lua::ImguiHandle TreeParent::AddSliderInt(char const* label, std::optional<int> value, std::optional<int> min, std::optional<int> max) |
| 690 | { |
| 691 | auto e = AddChild<SliderInt>(); |
| 692 | e->Label = label; |
| 693 | if (value) e->Value = glm::ivec4(*value); |
| 694 | if (min) e->Min = glm::ivec4(*min); |
| 695 | if (max) e->Max = glm::ivec4(*max); |
| 696 | return e; |
| 697 | } |
| 698 | |
| 699 | |
| 700 | lua::ImguiHandle TreeParent::AddInputScalar(char const* label, std::optional<float> value) |
nothing calls this directly
no outgoing calls
no test coverage detected