| 743 | } |
| 744 | |
| 745 | bool DragFloat2(const char* label, float* v1, float* v2, float v_speed, float v_min, float v_max, const char* display_format, Slice* flags, int flagCount) { |
| 746 | float floats[2] = {*v1, *v2}; |
| 747 | bool changed = ImGui::DragFloat2(label, floats, v_speed, v_min, v_max, display_format, SliderFlags(flags, flagCount)); |
| 748 | *v1 = floats[0]; |
| 749 | *v2 = floats[1]; |
| 750 | return changed; |
| 751 | } |
| 752 | |
| 753 | bool DragInt(const char* label, int* v, float v_speed, int v_min, int v_max, const char* display_format, Slice* flags, int flagCount) { |
| 754 | return ImGui::DragInt(label, v, v_speed, v_min, v_max, display_format, SliderFlags(flags, flagCount)); |
no test coverage detected