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

Method DragInt

include/imgui/imgui_widgets.cpp:2898–2901  ·  view source on GitHub ↗

NB: v_speed is float to allow adjusting the drag speed with more precision

Source from the content-addressed store, hash-verified

2896
2897// NB: v_speed is float to allow adjusting the drag speed with more precision
2898bool ImGui::DragInt(const char* label, int* v, float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags)
2899{
2900 return DragScalar(label, ImGuiDataType_S32, v, v_speed, &v_min, &v_max, format, flags);
2901}
2902
2903bool ImGui::DragInt2(const char* label, int v[2], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags)
2904{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected