MCPcopy Create free account
hub / github.com/VCVRack/Rack / cursorEnterCallback

Function cursorEnterCallback

src/window/Window.cpp:202–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200
201
202static void cursorEnterCallback(GLFWwindow* win, int entered) {
203 contextSet((Context*) glfwGetWindowUserPointer(win));
204 if (!entered) {
205 APP->event->handleLeave();
206 }
207}
208
209
210static void scrollCallback(GLFWwindow* win, double x, double y) {

Callers

nothing calls this directly

Calls 2

contextSetFunction · 0.85
handleLeaveMethod · 0.80

Tested by

no test coverage detected