MCPcopy Create free account
hub / github.com/clementgallet/libTAS / DragInt

Method DragInt

src/external/imgui/imgui_widgets.cpp:2577–2580  ·  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

2575
2576// NB: v_speed is float to allow adjusting the drag speed with more precision
2577bool ImGui::DragInt(const char* label, int* v, float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags)
2578{
2579 return DragScalar(label, ImGuiDataType_S32, v, v_speed, &v_min, &v_max, format, flags);
2580}
2581
2582bool ImGui::DragInt2(const char* label, int v[2], float v_speed, int v_min, int v_max, const char* format, ImGuiSliderFlags flags)
2583{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected