MCPcopy Create free account
hub / github.com/Raais/ImStudio / DragInt4

Method DragInt4

src/third-party/imgui/imgui_widgets.cpp:2526–2529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2524}
2525
2526bool ImGui::DragInt4(const char* label, int v[4], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags)
2527{
2528 return DragScalarN(label, ImGuiDataType_S32, v, 4, v_speed, &v_min, &v_max, format, flags);
2529}
2530
2531// NB: You likely want to specify the ImGuiSliderFlags_AlwaysClamp when using this.
2532bool ImGui::DragIntRange2(const char* label, int* v_current_min, int* v_current_max, float v_speed, int v_min, int v_max, const char* format, const char* format_max, ImGuiSliderFlags flags)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected