MCPcopy Create free account
hub / github.com/bluescan/tacentview / CursorPosCallback

Method CursorPosCallback

Src/TacentView.cpp:4048–4059  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4046
4047
4048void Viewer::CursorPosCallback(GLFWwindow* window, double x, double y)
4049{
4050 if (ImGui::GetIO().WantCaptureMouse)
4051 return;
4052
4053 if (IgnoreNextCursorPosCallback)
4054 {
4055 IgnoreNextCursorPosCallback = false;
4056 return;
4057 }
4058 DisappearCountdown = DisappearDuration;
4059}
4060
4061
4062void Viewer::ScrollWheelCallback(GLFWwindow* window, double x, double y)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected