Searched refs:lock_threshold (Results 1 – 2 of 2) sorted by relevance
4127 bool ImGui::IsMouseDragging(int button, float lock_threshold) in IsMouseDragging() argument4133 if (lock_threshold < 0.0f) in IsMouseDragging()4134 lock_threshold = g.IO.MouseDragThreshold; in IsMouseDragging()4135 return g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold; in IsMouseDragging()4166 ImVec2 ImGui::GetMouseDragDelta(int button, float lock_threshold) in GetMouseDragDelta() argument4170 if (lock_threshold < 0.0f) in GetMouseDragDelta()4171 lock_threshold = g.IO.MouseDragThreshold; in GetMouseDragDelta()4173 if (g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold) in GetMouseDragDelta()
653 …IMGUI_API bool IsMouseDragging(int button = 0, float lock_threshold = -1.0f); // is …658 …IMGUI_API ImVec2 GetMouseDragDelta(int button = 0, float lock_threshold = -1.0f); // ret…