| 767 | } |
| 768 | |
| 769 | bool InputFloat2(const char* label, float* v1, float* v2, const char* format, Slice* flags, int flagCount) { |
| 770 | float floats[2] = {*v1, *v2}; |
| 771 | bool changed = ImGui::InputFloat2(label, floats, format, InputTextFlags(flags, flagCount)); |
| 772 | *v1 = floats[0]; |
| 773 | *v2 = floats[1]; |
| 774 | return changed; |
| 775 | } |
| 776 | |
| 777 | bool InputInt(const char* label, int* v, int step, int step_fast, Slice* flags, int flagCount) { |
| 778 | return ImGui::InputInt(label, v, step, step_fast, InputTextFlags(flags, flagCount)); |
no test coverage detected