| 755 | } |
| 756 | |
| 757 | bool DragInt2(const char* label, int* v1, int* v2, float v_speed, int v_min, int v_max, const char* display_format, Slice* flags, int flagCount) { |
| 758 | int ints[2] = {*v1, *v2}; |
| 759 | bool changed = ImGui::DragInt2(label, ints, v_speed, v_min, v_max, display_format, SliderFlags(flags, flagCount)); |
| 760 | *v1 = ints[0]; |
| 761 | *v2 = ints[1]; |
| 762 | return changed; |
| 763 | } |
| 764 | |
| 765 | bool InputFloat(const char* label, float* v, float step, float step_fast, const char* format, Slice* flags, int flagCount) { |
| 766 | return ImGui::InputFloat(label, v, step, step_fast, format, InputTextFlags(flags, flagCount)); |
no test coverage detected