public static WindowPositionCallback SetWindowPosCallback(WindowPtr window, WindowPositionCallback callback) { var callbacks = GetCallbacks(window); var old = callbacks.windowPosition; callbacks.windowPosition = callback; glfwSetWindowPosCallback(window, callback); CheckError(); return(old); }
public static WindowPositionCallback SetWindowPositionCallback(WindowHandle window, WindowPositionCallback callback) { var old = glfwSetWindowPosCallback(window, callback); CheckError(nameof(SetWindowPositionCallback)); return(old); }
public static extern IntPtr glfwSetWindowPosCallback(WindowPtr window, WindowPositionCallback callback);
private static extern WindowPositionCallback glfwSetWindowPosCallback(WindowHandle window, WindowPositionCallback callback);