| 3923 | } |
| 3924 | |
| 3925 | bool ImGui::InputInt(const char* label, int* v, int step, int step_fast, ImGuiInputTextFlags flags) |
| 3926 | { |
| 3927 | // 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. |
| 3928 | const char* format = (flags & ImGuiInputTextFlags_CharsHexadecimal) ? "%08X" : "%d"; |
| 3929 | return InputScalar(label, ImGuiDataType_S32, (void*)v, (void*)(step > 0 ? &step : NULL), (void*)(step_fast > 0 ? &step_fast : NULL), format, flags); |
| 3930 | } |
| 3931 | |
| 3932 | bool ImGui::InputInt2(const char* label, int v[2], ImGuiInputTextFlags flags) |
| 3933 | { |
nothing calls this directly
no outgoing calls
no test coverage detected