Searched refs:lock_threshold (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui.h653 IMGUI_API bool IsMouseDragging(int button = 0, float lock_threshold = -1.0f); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold
658 IMGUI_API ImVec2 GetMouseDragDelta(int button = 0, float lock_threshold = -1.0f); // return the delta from the initial clicking position. This is locked and return 0.0f until the mouse moves past a distance threshold at least once. If lock_threshold < -1.0f uses io.MouseDraggingThreshold
H A Dimgui.cpp4127 bool ImGui::IsMouseDragging(int button, float lock_threshold) argument
4133 if (lock_threshold < 0.0f)
4134 lock_threshold = g.IO.MouseDragThreshold;
4135 return g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold;
4166 ImVec2 ImGui::GetMouseDragDelta(int button, float lock_threshold) argument
4170 if (lock_threshold < 0.0f)
4171 lock_threshold = g.IO.MouseDragThreshold;
4173 if (g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold)
[all...]
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.h653 IMGUI_API bool IsMouseDragging(int button = 0, float lock_threshold = -1.0f); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold
658 IMGUI_API ImVec2 GetMouseDragDelta(int button = 0, float lock_threshold = -1.0f); // return the delta from the initial clicking position. This is locked and return 0.0f until the mouse moves past a distance threshold at least once. If lock_threshold < -1.0f uses io.MouseDraggingThreshold
H A Dimgui.cpp4127 bool ImGui::IsMouseDragging(int button, float lock_threshold) argument
4133 if (lock_threshold < 0.0f)
4134 lock_threshold = g.IO.MouseDragThreshold;
4135 return g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold;
4166 ImVec2 ImGui::GetMouseDragDelta(int button, float lock_threshold) argument
4170 if (lock_threshold < 0.0f)
4171 lock_threshold = g.IO.MouseDragThreshold;
4173 if (g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold)
[all...]

Completed in 37 milliseconds