MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / InputInt

Method InputInt

include/imgui/imgui_widgets.cpp:3945–3950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3943}
3944
3945bool 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
3952bool ImGui::InputInt2(const char* label, int v[2], ImGuiInputTextFlags flags)
3953{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected