Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp4773 bool ImGui::IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold) in IsMouseDragPastThreshold() argument
4777 if (lock_threshold < 0.0f) in IsMouseDragPastThreshold()
4778 lock_threshold = g.IO.MouseDragThreshold; in IsMouseDragPastThreshold()
4779 return g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold; in IsMouseDragPastThreshold()
4782 bool ImGui::IsMouseDragging(ImGuiMouseButton button, float lock_threshold) in IsMouseDragging() argument
4788 return IsMouseDragPastThreshold(button, lock_threshold); in IsMouseDragging()
4829 ImVec2 ImGui::GetMouseDragDelta(ImGuiMouseButton button, float lock_threshold) in GetMouseDragDelta() argument
4833 if (lock_threshold < 0.0f) in GetMouseDragDelta()
4834 lock_threshold in GetMouseDragDelta()
[all...]
H A Dimgui.h898 // - Dragging operations are only reported after mouse has moved a certain distance away from the initial clicking position (see 'lock_threshold' and 'io.MouseDraggingThreshold')
908 IMGUI_API bool IsMouseDragging(ImGuiMouseButton button, float lock_threshold = -1.0f); // is mouse dragging? (if lock_threshold < -1.0f, uses io.MouseDraggingThreshold)
909 IMGUI_API ImVec2 GetMouseDragDelta(ImGuiMouseButton button = 0, float lock_threshold = -1.0f); // return the delta from the initial clicking position while the mouse button is pressed or was just released. 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_internal.h2551 IMGUI_API bool IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold = -1.0f);
/third_party/mesa3d/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) in IsMouseDragging() argument
4133 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() argument
4170 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()
[all...]

Completed in 49 milliseconds