MCPcopy Create free account
hub / github.com/coronalabs/corona / GetMouseDragDelta

Method GetMouseDragDelta

platform/linux/src/imgui/imgui.cpp:7725–7736  ·  view source on GitHub ↗

Return the delta from the initial clicking position while the mouse button is clicked or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once. NB: This is only valid if IsMousePosValid(). backends in theory should always keep mouse position valid when dragging even outside the client window.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

ImVec2Function · 0.85

Tested by

no test coverage detected