| 3943 | } |
| 3944 | |
| 3945 | bool ImGui::InputInt(const char* label, int* v, int step, int step_fast, ImGuiInputTextFlags flags) |
| 3946 | { |
| 3947 | // Hexadecimal input provided as a convenience but the flag name is awkward. Typically you'd use InputText() to parse your own data, if you want to handle prefixes. |
| 3948 | const char* format = (flags & ImGuiInputTextFlags_CharsHexadecimal) ? "%08X" : "%d"; |
| 3949 | return InputScalar(label, ImGuiDataType_S32, (void*)v, (void*)(step > 0 ? &step : NULL), (void*)(step_fast > 0 ? &step_fast : NULL), format, flags); |
| 3950 | } |
| 3951 | |
| 3952 | bool ImGui::InputInt2(const char* label, int v[2], ImGuiInputTextFlags flags) |
| 3953 | { |
nothing calls this directly
no outgoing calls
no test coverage detected